Text   |  XML   |  ReML   |   Visible Warnings:

Integer Overflow of Allocation Size  at index-sort-string.c:271

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

index_sort_zeroes

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-storage/index/index-sort-string.c)expand/collapse
Show more  
 259  static void index_sort_zeroes(struct sort_string_context *ctx)
 260  {
 261          struct mail *mail = ctx->program->temp_mail;
 262          enum mail_sort_type sort_type = ctx->program->sort_program[0];
 263          string_t *str;
 264          pool_t pool;
 265          struct mail_sort_node *nodes;
 266          unsigned int i, count;
 267   
 268          /* first get all the messages' sort strings. although this takes more
 269             memory, it makes error handling easier and probably also helps 
 270             CPU caching. */
 271[+]         ctx->sort_strings = i_new(const char *, ctx->last_seq + 1);
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 11836.25520 : Integer Overflow of Allocation Size

Priority:
State:
Finding:
Owner:
Note: