grep: cap insane -B NUM values to MAX_INT / 8. Fixes bug 2653.
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 2 Oct 2010 10:42:28 +0000 (12:42 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 2 Oct 2010 10:42:28 +0000 (12:42 +0200)
commit0296fd3af1cb3f9cceabc31dd39b6a00b66cb65d
tree6fb4afdde40be52d395bb77198f15417f6839f6a
parent2d1a78b88f6c986cbe147fc6f99091fd61f3bdd9
grep: cap insane -B NUM values to MAX_INT / 8. Fixes bug 2653.

function                                             old     new   delta
grep_main                                            766     779     +13

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
findutils/grep.c