SegFault with specific opzions

View: New views
2 Messages — Rating Filter:   Alert me  

SegFault with specific opzions

by Bugzilla from keks@cookiesoft.de :: Rate this Message:

| View Threaded | Show Only this Message

Hello everyone,

you can produce a Segmentation fault when you do the following:
     grep -r "asd" --exclude-dir=b
where b must not exist. Note the missing path at the end. If you pass a
path at the end, like . or foobar

The error is

[1]    32294 segmentation fault (core dumped)  grep --color=auto -r
"asd" --exclude-dir=b

The core dump is in the appendix.
I hope you will find a solution for this.

Regards,

Marcel Hellwig


core.32294.tar.bz2 (35K) Download Attachment

Re: SegFault with specific opzions

by Paul Eggert :: Rate this Message:

| View Threaded | Show Only this Message

Thanks, that bug is fixed in the master copy and the fix
should be in the next release.  Please see:

http://savannah.gnu.org/bugs/?35915