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

Subversion リポジトリの参照

Diff of /trunk/1.8.x/ccs-patch/security/ccsecurity/network.c

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

revision 2704 by kumaneko, Tue Jun 30 04:57:22 2009 UTC revision 2718 by kumaneko, Thu Jul 2 01:30:12 2009 UTC
# Line 88  static struct ccs_address_group_entry *c Line 88  static struct ccs_address_group_entry *c
88                  error = 0;                  error = 0;
89                  break;                  break;
90          }          }
91          if (error && ccs_memory_ok(entry)) {          if (error && ccs_memory_ok(entry, sizeof(*entry))) {
92                  INIT_LIST_HEAD(&entry->address_group_member_list);                  INIT_LIST_HEAD(&entry->address_group_member_list);
93                  entry->group_name = saved_group_name;                  entry->group_name = saved_group_name;
94                  saved_group_name = NULL;                  saved_group_name = NULL;
# Line 162  static int ccs_update_address_group_entr Line 162  static int ccs_update_address_group_entr
162                  error = 0;                  error = 0;
163                  break;                  break;
164          }          }
165          if (!is_delete && error && ccs_memory_ok(entry)) {          if (!is_delete && error && ccs_memory_ok(entry, sizeof(*entry))) {
166                  entry->is_ipv6 = is_ipv6;                  entry->is_ipv6 = is_ipv6;
167                  if (is_ipv6) {                  if (is_ipv6) {
168                          entry->min.ipv6 = saved_min_address;                          entry->min.ipv6 = saved_min_address;
# Line 507  static int ccs_update_network_entry(cons Line 507  static int ccs_update_network_entry(cons
507                  error = ccs_add_domain_acl(NULL, ptr);                  error = ccs_add_domain_acl(NULL, ptr);
508                  break;                  break;
509          }          }
510          if (error && ccs_memory_ok(entry)) {          if (error && ccs_memory_ok(entry, sizeof(*entry))) {
511                  entry->head.type = TYPE_IP_NETWORK_ACL;                  entry->head.type = TYPE_IP_NETWORK_ACL;
512                  entry->head.cond = condition;                  entry->head.cond = condition;
513                  entry->operation_type = operation;                  entry->operation_type = operation;

Legend:
Removed from v.2704  
changed lines
  Added in v.2718

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