Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at virtual-sync.c:1184

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

virtual_sync_backend_sort_new

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/plugins/virtual/virtual-sync.c)expand/collapse
Show more  
 1168  static void virtual_sync_backend_sort_new(struct virtual_sync_context *ctx)
 1169  {
 1170          struct virtual_backend_box *bbox;
 1171          struct virtual_add_record *adds;
 1172          const struct virtual_mail_index_record *vrec;
 1173          unsigned int i, count;
 1174   
 1175          /* get all messages' received dates */
 1176[+]         adds = array_get_modifiable(&ctx->all_adds, &count);
 1177          for (bbox = NULL, i = 0; i < count; i++) {
 1178                  vrec = &adds[i].rec;
 1179   
 1180                  if (bbox == NULL || bbox->mailbox_id != vrec->mailbox_id) {
 1181                          bbox = virtual_backend_box_lookup(ctx->mbox,
 1182[+]                                                           vrec->mailbox_id);
 1183                  }
 1184                  if (!mail_set_uid(bbox->sync_mail, vrec->real_uid))
Show more  




Change Warning 8158.24420 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: