Text   |  XML   |  ReML   |   Visible Warnings:

Free Null Pointer  at mail-storage.c:288

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

mail_storage_set_critical

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-storage/mail-storage.c)expand/collapse
Show more  
 296  void mail_storage_set_critical(struct mail_storage *storage,
 297                                 const char *fmt, ...)
 298  {
 299          va_list va;
 300   
 301[+]         mail_storage_clear_error(storage);
 302          if (fmt != NULL) {
 303                  va_start(va, fmt);
 304                  i_error("%s", t_strdup_vprintf(fmt, va));
 305                  va_end(va);
 306   
 307                  /* critical errors may contain sensitive data, so let user 
 308                     see only "Internal error" with a timestamp to make it
 309                     easier to look from log files the actual error message. */
 310[+]                 mail_storage_set_internal_error(storage);
expand/collapse

mail_storage_set_internal_error

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-storage/mail-storage.c)expand/collapse
Show more  
 281  void mail_storage_set_internal_error(struct mail_storage *storage)
 282  {
 283          struct tm *tm;
 284          char str[256];
 285   
 286          tm = localtime(&ioloop_time);
 287   
 288          i_free(storage->error_string);
Show more  
Show more  




Change Warning 11401.24761 : Free Null Pointer

Priority:
State:
Finding:
Owner:
Note: