(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-storage/list/mailbox-list-fs-iter.c) |
| |
| 540 | | | list_file(struct fs_list_iterate_context *ctx, |
| 541 | | | const struct list_dir_entry *entry) |
| 542 | | | { |
| 543 | | | struct mail_namespace *ns = ctx->ctx.list->ns; |
| 544 | | | const char *fname = entry->fname; |
| 545 | | | const char *list_path; |
| 546 | | | enum imap_match_result match; |
| 547 | | | int ret; |
| 548 | | | |
| 549 | | | |
| 550 | | | if (fname[0] == '.' && |
Event 1:
Skipping " if". fname[0] == 46 evaluates to false.
hide
|
|
| 551 | | | (fname[1] == '\0' || |
| 552 | | | (fname[1] == '.' && fname[2] == '\0'))) |
| 553 | | | return 0; |
| 554 | | | |
| 555 | | | |
| 556 | [+] | | list_path = t_strconcat(ctx->dir->virtual_path, fname, NULL); |
 |
| 557 | [+] | | match = imap_match(ctx->glob, list_path); |
Event 8:
list_path, which evaluates to NULL, is passed to imap_match() as the second argument. See related event 7.
hide
|
|
 |
| |