bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2.6[.1] seg fault with -r


From: Eric Blake
Subject: Re: 2.6[.1] seg fault with -r
Date: Fri, 26 Mar 2010 13:08:52 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b1 Thunderbird/3.0.3

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   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]