Text   |  XML   |  ReML   |   Visible Warnings:

Negative file descriptor  at ssl-init.c:44

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

start_generate_process

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/master/ssl-init.c)expand/collapse
Show more  
 28  static void start_generate_process(const char *fname)
 29  {
 30          const char *binpath = PKG_LIBEXECDIR"/ssl-build-param";
 31          struct log_io *log;
 32          pid_t pid;
 33          int log_fd;
 34   
 35[+]         log_fd = log_create_pipe(&log, 10);
 36          if (log_fd == -1)
 37                  pid = -1;
 38          else {
 39                  pid = fork();
 40                  if (pid < 0)
 41                          i_error("fork() failed: %m");
 42          }
 43          if (pid == -1) {
 44                  (void)close(log_fd);
Show more  




Change Warning 7852.25041 : Negative file descriptor

Priority:
State:
Finding:
Owner:
Note: