diff options
author | Pablo Neira Ayuso <[email protected]> | 2007-12-01 00:03:52 +1100 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2007-12-01 00:03:52 +1100 |
commit | e03ba84adb62fbc6049325a5bc00ef6932fa5e39 (patch) | |
tree | 37a6d1206d6480bbbcda98a8b636a2071a6bf31c /lib/debugobjects.c | |
parent | 67b4af297033f5f65999885542f95ba7b562848a (diff) |
[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 <[email protected]>
Signed-off-by: Patrick McHardy <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions