No subject


Thu Nov 23 16:31:58 EST 2017


have crept back in.

Context diff included below.

-Cameron

*** src/util.c.orig     Wed Oct 16 09:37:39 2002
--- src/util.c  Wed Oct 16 10:18:52 2002
***************
*** 625,631 ****
  {
      FILE *pid_file;
      struct stat pt;
-     char log_dir[STD_BUF + 1];
  #ifdef WIN32
      char dir[STD_BUF + 1];
  #endif
--- 625,630 ----
***************
*** 666,672 ****
                          "PID path to log directory (%s)\n", pv.pid_path,
                          pv.log_dir);
  
!                 snprintf(pv.pid_path, STD_BUF, "%s/", log_dir);
              }
          }
          else
--- 665,671 ----
                          "PID path to log directory (%s)\n", pv.pid_path,
                          pv.log_dir);
  
!                 snprintf(pv.pid_path, STD_BUF, "%s/", pv.log_dir);
              }
          }
          else




More information about the Snort-devel mailing list