Text   |  XML   |  ReML   |   Visible Warnings:

Integer Overflow of Allocation Size  at sql-api.c:129

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

sql_result_build_map

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-sql/sql-api.c)expand/collapse
Show more  
 119  sql_result_build_map(struct sql_result *result,
 120                       const struct sql_field_def *fields, size_t dest_size)
 121  {
 122          const struct sql_field_def *def;
 123          const char *name;
 124          unsigned int i, count, field_size = 0;
 125   
 126[+]         count = sql_result_get_fields_count(result);
 127   
 128          result->map_size = count;
 129[+]         result->map = i_new(struct sql_field_map, result->map_size);
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 11816.24464 : Integer Overflow of Allocation Size

Priority:
State:
Finding:
Owner:
Note: