Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at rawlog.c:291

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

rawlog_open

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/util/rawlog.c)expand/collapse
Show more  
 275  static void rawlog_open(enum rawlog_flags flags)
 276  {
 277          const char *chroot_dir, *home, *path;
 278          struct stat st;
 279          int sfd[2];
 280          pid_t pid;
 281   
 282          chroot_dir = getenv("RESTRICT_CHROOT");
 283          home = getenv("HOME");
 284          if (chroot_dir != NULL)
 285                  home = t_strconcat(chroot_dir, home, NULL);
 286          else if (home == NULL)
 287                  home = ".";
 288   
 289          /* see if we want rawlog */
 290[+]         path = t_strconcat(home, "/dovecot.rawlog", NULL);
 291          if (lstat(path, &st) < 0) {
Show more  




Change Warning 8033.24982 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: