Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at maildir-storage.c:615

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

maildir_mailbox_create

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-storage/index/maildir/maildir-storage.c)expand/collapse
Show more  
 598  static int maildir_mailbox_create(struct mail_storage *_storage,
 599                                    const char *name,
 600                                    bool directory ATTR_UNUSED)
 601  {
 602          struct stat st;
 603          const char *path, *root_dir, *shared_path, *gid_origin;
 604          mode_t old_mask;
 605          int fd;
 606   
 607          path = mailbox_list_get_path(_storage->list, name,
 608                                       MAILBOX_LIST_PATH_TYPE_MAILBOX);
 609          root_dir = mailbox_list_get_path(_storage->list, NULL,
 610                                           MAILBOX_LIST_PATH_TYPE_MAILBOX);
 611   
 612          /* if dovecot-shared exists in the root dir, create the mailbox using
 613             its permissions and gid, and copy the dovecot-shared inside it. */
 614[+]         shared_path = t_strconcat(root_dir, "/dovecot-shared", NULL);
 615          if (stat(shared_path, &st) == 0) {
Show more  




Change Warning 7379.25440 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: