Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at mail-user.c:153

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

mbox_snarf_mail_storage_created

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/plugins/mbox-snarf/mbox-snarf-plugin.c)expand/collapse
Show more  
 186  static void mbox_snarf_mail_storage_created(struct mail_storage *storage)
 187  {
 188          struct mbox_snarf_mail_storage *mstorage;
 189          const char *path;
 190   
 191[+]         path = mail_user_home_expand(storage->ns->user, getenv("MBOX_SNARF"));
expand/collapse

mail_user_home_expand

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-storage/mail-user.c)expand/collapse
Show more  
 112  const char *mail_user_home_expand(struct mail_user *user, const char *path)
 113  {
 114[+]         (void)mail_user_try_home_expand(user, &path);
expand/collapse

mail_user_try_home_expand

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-storage/mail-user.c)expand/collapse
Show more  
 146  int mail_user_try_home_expand(struct mail_user *user, const char **pathp)
 147  {
 148          const char *home, *path = *pathp;
 149   
 150          if (mail_user_get_home(user, &home) < 0)
 151                  return -1;
 152   
 153          if (path[0] == '~' && (path[1] == '/' || path[1] == '\0')) {
Show more  
Show more  
Show more  




Change Warning 8122.25020 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: