Null Pointer Dereference at mail-index-transaction.c:351 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
mail_index_update_day_headers (/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-index/mail-index-transaction.c)![]() | ||||||
![]() | ||||||
338 | mail_index_update_day_headers(struct mail_index_transaction *t) | |||||
339 | { | |||||
340 | struct mail_index_header hdr; | |||||
341 | const struct mail_index_record *rec; | |||||
342 | const int max_days = N_ELEMENTS(hdr.day_first_uid); | |||||
343 | struct tm tm; | |||||
344 | time_t stamp; | |||||
345 | int i, days; | |||||
346 | ||||||
347 | hdr = *mail_index_get_header(t->view); | |||||
348 | rec = array_idx(&t->appends, 0); | |||||
349 | ||||||
350 | /* get beginning of today */ | |||||
351 | tm = *localtime(&ioloop_time);
| |||||
![]() |