Text   |  XML   |  ReML   |   Visible Warnings:

Integer Overflow of Allocation Size  at mail-index-transaction.c:504

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

mail_index_transaction_sort_appends

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-index/mail-index-transaction.c)expand/collapse
Show more  
 490  void mail_index_transaction_sort_appends(struct mail_index_transaction *t)
 491  {
 492          struct mail_index_record *recs, *sorted_recs;
 493          struct uid_map *new_uid_map;
 494          uint32_t *old_to_newseq_map;
 495          unsigned int i, count;
 496   
 497          if (!t->appends_nonsorted)
 498                  return;
 499   
 500          /* first make a copy of the UIDs and map them to sequences */
 501[+]         recs = array_get_modifiable(&t->appends, &count);
 502          i_assert(count > 0);
 503   
 504[+]         new_uid_map = i_new(struct uid_map, count);
expand/collapse

i_malloc

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib/imem.c)expand/collapse
Show more  
 7  void *i_malloc(size_t size)
 8  {
 9      void *rv = malloc(size);
Show more  
Show more  




Change Warning 11946.24630 : Integer Overflow of Allocation Size

Because they are very similar, this warning shares annotations with warning 11946.24631.

Priority:
State:
Finding:
Owner:
Note: