patch-src_detection-plugins_sp_replace_c.orig 398 B

1234567891011
  1. --- snort-2.8.5.1.orig/src/detection-plugins/sp_replace.c 2009-07-07 17:37:04.000000000 +0200
  2. +++ snort-2.8.5.1/src/detection-plugins/sp_replace.c 2009-12-27 17:14:46.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. {