Text   |  XML   |  ReML   |   Visible Warnings:

Integer Overflow of Allocation Size  at mail-index-strmap.c:827

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

mail_index_strmap_view_renumber

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-index/mail-index-strmap.c)expand/collapse
Show more  
 814  static void mail_index_strmap_view_renumber(struct mail_index_strmap_view *view)
 815  {
 816          struct mail_index_strmap_read_context ctx;
 817          struct mail_index_strmap_rec *recs, *hash_rec;
 818          uint32_t prev_uid, str_idx, *recs_crc32, *renumber_map;
 819          unsigned int i, dest, count, count2;
 820          int ret;
 821   
 822          memset(&ctx, 0, sizeof(ctx));
 823          ctx.view = view;
 824   
 825          /* create a map of old -> new index and remove records of
 826             expunged messages */
 827[+]         renumber_map = i_new(uint32_t, view->next_str_idx);
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 11835.25817 : Integer Overflow of Allocation Size

Priority:
State:
Finding:
Owner:
Note: