Text   |  XML   |  ReML   |   Visible Warnings:

Uninitialized Variable  at index-mail.c:74

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

get_unserialized_parts

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-storage/index/index-mail.c)expand/collapse
Show more  
 56  static struct message_part *get_unserialized_parts(struct index_mail *mail)
 57  {
 58          unsigned int field_idx =
 59                  mail->ibox->cache_fields[MAIL_CACHE_MESSAGE_PARTS].idx;
 60          struct message_part *parts;
 61          buffer_t *part_buf;
 62          const char *error;
 63          int ret;
 64   
 65          part_buf = buffer_create_dynamic(pool_datastack_create(), 128);
 66[+]         ret = index_mail_cache_lookup_field(mail, part_buf, field_idx);
 67          if (ret <= 0)
 68                  return NULL;
 69   
 70          parts = message_part_deserialize(mail->data_pool, part_buf->data,
 71[+]                                          part_buf->used, &error);
 72          if (parts == NULL) {
 73                  mail_cache_set_corrupted(mail->ibox->cache,
 74                          "Corrupted cached message_part data (%s)", error);
Show more  




Change Warning 7327.25737 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: