Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at mailbox-list.c:111

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

mailbox_list_settings_parse

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-storage/mailbox-list.c)expand/collapse
Show more  
 140  int mailbox_list_settings_parse(const char *data,
 141                                  struct mailbox_list_settings *set,
 142                                  struct mail_namespace *ns,
 143                                  const char **layout, const char **alt_dir_r,
 144                                  const char **error_r)
 145  {
 146          const char *const *tmp, *key, *value, **dest, *str;
 147   
 148          i_assert(*data != '\0');
 149   
 150          *error_r = NULL;
 151          if (alt_dir_r != NULL)
 152                  *alt_dir_r = NULL;
 153   
 154          /* <root dir> */
 155          tmp = t_strsplit(data, ":");
 156[+]         str = split_next_arg(&tmp);
 157[+]         if (fix_path(ns, str, &set->root_dir) < 0) {
expand/collapse

fix_path

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-storage/mailbox-list.c)expand/collapse
Show more  
 108  static int fix_path(struct mail_namespace *ns, const char *path,
 109                      const char **path_r)
 110  {
 111          size_t len = strlen(path);
Show more  
Show more  




Change Warning 7358.25011 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: