]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
Fix comment wording in Boyer Moore pattern matcher.
authorKen Steele <ken@tilera.com>
Tue, 24 Jun 2014 14:05:03 +0000 (10:05 -0400)
committerKen Steele <ken@tilera.com>
Fri, 18 Jul 2014 16:18:31 +0000 (12:18 -0400)
src/util-spm-bm.c

index 803d55d7865b008a00846bde1e968ffb339d8fa6..bdb9e97b71ecc12bd705b777fbcde6a9120363a4 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2010 Open Information Security Foundation
+/* Copyright (C) 2007-2014 Open Information Security Foundation
  *
  * You can copy, redistribute or modify this Program under the terms of
  * the GNU General Public License version 2 as published by the Free
  *
  * Boyer Moore simple pattern matcher implementation
  *
- * Boyer Moore algorithm has a really good performance. It need to arrays
+ * Boyer Moore algorithm has a really good performance. It need two arrays
  * of context for each pattern that hold applicable shifts on the text
  * to seach in, based on characters not available in the pattern
- * and combinations of characters that start a sufix on the pattern.
+ * and combinations of characters that start a sufix of the pattern.
  * If possible, we should store the context of patterns that we are going
  * to search for multiple times, so we don't spend time on rebuilding them.
  */