オープンソース・ソフトウェアの開発とダウンロード

Subversion リポジトリの参照

Diff of /trunk/1.7.x/ccs-patch/security/ccsecurity/util.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2828 by kumaneko, Mon Aug 3 05:36:36 2009 UTC revision 2831 by kumaneko, Mon Aug 3 08:49:26 2009 UTC
# Line 1141  static int ccs_write_profile(struct ccs_ Line 1141  static int ccs_write_profile(struct ccs_
1141                  return -EINVAL;                  return -EINVAL;
1142          *cp = '\0';          *cp = '\0';
1143          if (!strcmp(data, "COMMENT")) {          if (!strcmp(data, "COMMENT")) {
1144                  ccs_profile->comment = ccs_get_name(cp + 1);                  const struct ccs_path_info *new_comment
1145                            = ccs_get_name(cp + 1);
1146                    const struct ccs_path_info *old_comment;
1147                    old_comment = ccs_profile->comment;
1148                    ccs_profile->comment = new_comment;
1149                    /* BUG: Need to wait for SRCU before kfree(). */
1150                    ccs_put_name(old_comment);
1151                  ccs_profile_entry_used[0] = true;                  ccs_profile_entry_used[0] = true;
1152                  return 0;                  return 0;
1153          }          }

Legend:
Removed from v.2828  
changed lines
  Added in v.2831

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26