From: Pablo Neira Ayuso Date: Fri, 30 Nov 2007 13:03:52 +0000 (+1100) Subject: [TEXTSEARCH]: Do not allow zero length patterns in the textsearch infrastructure X-Git-Tag: v2.6.24-rc4~8^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e03ba84adb62fbc6049325a5bc00ef6932fa5e39;p=pandora-kernel.git [TEXTSEARCH]: Do not allow zero length patterns in the textsearch infrastructure If a zero length pattern is passed then return EINVAL. Avoids infinite loops (bm) or invalid memory accesses (kmp). Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: Herbert Xu --- Reading git-diff-tree failed