patch-src_output-plugins_spo_log_tcpdump_c 399 B

1234567891011
  1. --- snort-2.8.5.1.orig/src/output-plugins/spo_log_tcpdump.c 2009-05-07 00:29:15.000000000 +0200
  2. +++ snort-2.8.5.1/src/output-plugins/spo_log_tcpdump.c 2009-12-27 17:22:31.000000000 +0100
  3. @@ -469,7 +469,7 @@ static void SpoLogTcpdumpCleanup(int sig
  4. free (data->filename);
  5. }
  6. - bzero(data, sizeof(LogTcpdumpData));
  7. + memset(data, 0, sizeof(LogTcpdumpData));
  8. free(data);
  9. }