(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-storage/list/mailbox-list-subscriptions.c) |
| |
| 10 | | | mailbox_list_subscriptions_fill_real(struct mailbox_list_iterate_context *ctx, |
| 11 | | | struct mailbox_tree_context *tree_ctx, |
| 12 | | | struct imap_match_glob *glob, |
| 13 | | | bool update_only) |
| 14 | | | { |
| 15 | | | struct mail_namespace *default_ns = ctx->list->ns; |
| 16 | | | struct mail_namespace *namespaces = default_ns->user->namespaces; |
| 17 | | | struct mailbox_list_iter_update_context update_ctx; |
| 18 | | | struct subsfile_list_context *subsfile_ctx; |
| 19 | | | struct mail_namespace *ns; |
| 20 | | | const char *path, *name, *name2, *full_name; |
| 21 | | | string_t *vname; |
| 22 | | | |
| 23 | | | vname = t_str_new(256); |
| 24 | | | path = t_strconcat(ctx->list->set.control_dir != NULL ? |
Event 1:
ctx->list->set.control_dir != (void *)0 evaluates to false.
hide
Event 7:
path is set to t_strconcat(...), which evaluates to NULL. See related event 6.
hide
|
|
| 25 | | | ctx->list->set.control_dir : |
| 26 | | | ctx->list->set.root_dir, |
| 27 | [+] | | "/", ctx->list->set.subscription_fname, NULL); |
 |
| 28 | [+] | | subsfile_ctx = subsfile_list_init(ctx->list, path); |
Event 8:
path, which evaluates to NULL, is passed to subsfile_list_init() as the second argument. See related event 7.
hide
|
|
 |
| |