Hi,
There was/is a bug in GNU grep that causes "fgrep -w" to sometimes miss
matches. We've had a fix for this (by Pavel Kankovsky) in Owl for a
year now. Please see grep-2.5.1a-owl-fgrep-w.diff at:
http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/grep/
grep-2.5.1a-owl-fgrep-w.diff includes comments with problem description
and a testcase demonstrating the problem.
I am sorry that I do not have time to test a recent development version
of grep for this. I figured it would be better to report this anyway
rather than to sit on it. I've also notified other distro vendors:
http://www.openwall.com/lists/xvendor/2008/04/18/1
Thanks,
--
Alexander Peslyak <solar at openwall.com>
GPG key ID: 5B341F15 fp: B3FB 63F4 D7A3 BCCC 6F6E FC55 A2FC 027C 5B34 1F15
http://www.openwall.com - bringing security into open computing environments