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