Null Pointer Dereference at maildir-keywords.c:364 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
maildir_keywords_commit (/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-storage/index/maildir/maildir-keywords.c)![]() | ||||||
![]() | ||||||
351 | static int maildir_keywords_commit(struct maildir_keywords *mk) | |||||
352 | { | |||||
353 | struct dotlock *dotlock; | |||||
354 | const char *lock_path; | |||||
355 | mode_t old_mask; | |||||
356 | int i, fd; | |||||
357 | ||||||
358 | mk->synced = FALSE; | |||||
359 | ||||||
360 | if (!mk->changed || mk->mbox == NULL) | |||||
361 | return 0; | |||||
362 | ||||||
363 | [+] | lock_path = t_strconcat(mk->path, ".lock", NULL); | ||||
364 | (void)unlink(lock_path);
| |||||
![]() |