(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-storage/index/dbox/dbox-sync-rebuild.c) |
| |
| 246 | | | dbox_sync_index_maildir_file(struct dbox_sync_rebuild_context *ctx, |
| 247 | | | const char *fname) |
| 248 | | | { |
| 249 | | | struct dbox_file *file; |
| 250 | | | uoff_t offset = 0; |
| 251 | | | int ret; |
| 252 | | | |
| 253 | | | if (ctx->mbox->maildir_sync_keywords == NULL) { |
Event 1:
Taking true branch. ctx->mbox->maildir_sync_keywords == (void *)0 evaluates to true.
hide
|
|
| 254 | | | ctx->maildir_uidlist = |
Event 15:
ctx->maildir_uidlist is set to maildir_uidlist_init_readonly(...), which evaluates to malloc(size) from imem.c:9. See related event 14.
hide
|
|
| 255 | [+] | | maildir_uidlist_init_readonly(&ctx->mbox->ibox); |
 |
| 256 | [+] | | ctx->mk = maildir_keywords_init_readonly(&ctx->mbox->ibox.box); |
 |
| 257 | | | ctx->mbox->maildir_sync_keywords = |
| 258 | | | maildir_keywords_sync_init(ctx->mk, |
| 259 | | | ctx->mbox->ibox.index); |
| 260 | | | |
| 261 | [+] | | if (maildir_uidlist_refresh(ctx->maildir_uidlist) < 0) |
Event 18:
ctx->maildir_uidlist, which evaluates to malloc(size) from imem.c:9, is passed to maildir_uidlist_refresh(). See related event 15.
hide
|
|
 |
| |