Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at main.c:258

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

create_pid_file

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/master/main.c)expand/collapse
Show more  
 248  static void create_pid_file(const char *path)
 249  {
 250          const char *pid;
 251          int fd;
 252   
 253[+]         pid = t_strconcat(dec2str(getpid()), "\n", NULL);
 254   
 255          fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, 0644);
 256          if (fd == -1)
 257                  i_fatal("open(%s) failed: %m", path);
 258          if (write_full(fd, pid, strlen(pid)) < 0)
Show more  




Change Warning 7851.24659 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: