On 03/26/2010 10:17 AM, Karl Berry wrote:
> grep 2.6 and 2.6.1, compiled from original source (on CentOS 5.4).
> grep -r foo . (all args I tried did the same) gets an immediate seg fault.
> Compiling with gcc 4.4.3 (though I doubt it matters), also installed
> from original source.
> 
> Running under gdb shows that path is NULL upon entry to isdir1 in
> lib/savedir.c.  The diff below avoids the seg fault, and I haven't found
> any other bad behavior, but I'm sure it's not what you will want to
> apply ...

This has already been reported, with a more appropriate fix:
http://lists.gnu.org/archive/html/bug-grep/2010-03/msg00493.html

-- 
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to