1
0

patch-src_detection-plugins_sp_replace_c 398 B

1234567891011
  1. --- snort-2.8.5.2.orig/src/detection-plugins/sp_replace.c 2009-07-07 17:37:04.000000000 +0200
  2. +++ snort-2.8.5.2/src/detection-plugins/sp_replace.c 2010-01-19 20:21:14.000000000 +0100
  3. @@ -122,7 +122,7 @@ static PatternMatchData * Replace_Parse(
  4. }
  5. /* find the start of the data */
  6. - start_ptr = index(rule, '"');
  7. + start_ptr = strchr(rule, '"');
  8. if(start_ptr == NULL)
  9. {