Free Null Pointer at mail-storage.c:288 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
mail_storage_set_critical (/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-storage/mail-storage.c)![]() | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 to make it | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
309 | easier to look from log files the actual error . */ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
310 | [+] | mail_storage_set_internal_error(storage); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |