Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at cmd-thread.c:25

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

imap_thread_write

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/imap/cmd-thread.c)expand/collapse
Show more  
 10  static int imap_thread_write(struct mail_thread_iterate_context *iter,
 11                               string_t *str, bool root)
 12  {
 13          const struct mail_thread_child_node *node;
 14          struct mail_thread_iterate_context *child_iter;
 15          unsigned int count;
 16          int ret = 0;
 17   
 18[+]         count = mail_thread_iterate_count(iter);
 19          if (count == 0)
 20                  return 0;
 21   
 22          if (count == 1 && !root) {
 23                  /* only one child - special case to avoid extra paranthesis */
 24[+]                 node = mail_thread_iterate_next(iter, &child_iter);
 25                  str_printfa(str, "%u", node->uid);
Show more  




Change Warning 7989.24751 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: