(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-storage/list/mailbox-list-fs-iter.c) |
| |
| 483 | | | list_file_subdir(struct fs_list_iterate_context *ctx, |
| 484 | | | enum imap_match_result match, const char *list_path, |
| 485 | | | const char *fname) |
| 486 | | | { |
| 487 | | | struct list_dir_context *dir; |
| 488 | | | DIR *dirp; |
| 489 | | | enum imap_match_result match2; |
| 490 | | | const char *vpath, *real_path; |
| 491 | | | bool scan_subdir, delayed_send = FALSE; |
| 492 | | | int ret; |
| 493 | | | |
| 494 | [+] | | vpath = t_strdup_printf("%s%c", list_path, ctx->sep); |
 |
| 495 | [+] | | match2 = imap_match(ctx->glob, vpath); |
 |
| 496 | | | |
| 497 | | | if (match == IMAP_MATCH_YES) |
Event 35:
Taking false branch. match == IMAP_MATCH_YES evaluates to false.
hide
|
|
| 498 | | | ctx->info.name = p_strdup(ctx->info_pool, list_path); |
| 499 | | | else if (match2 == IMAP_MATCH_YES) |
Event 36:
Taking true branch. match2 == IMAP_MATCH_YES evaluates to true.
hide
|
|
| 500 | [+] | | ctx->info.name = p_strdup(ctx->info_pool, vpath); |
Event 37:
vpath, which evaluates to the value assigned to ret at data-stack.c:335, is passed to p_strdup() as the second argument. See related event 32.
hide
|
|
 |
| |