[64-bit] egrep core dumps when it opens binary files

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Aug 14 07:41:00 GMT 2013


On Aug 13 20:01, Jim Burwell wrote:
> > On 8/12/2013 7:41 PM, Corinna Vinschen wrote:
> > >
> > > I added UTF-16 surrogate handling to the -i option and uploaded a
> > > grep-2.14-2 package to the 64 bit release.  Please give it a tests.
> > > If it works for you, I'll send the patch upstream.
> > >
> >
> > Hi,
> >
> > I can confirm it fixes the crash for me. I used this testcase:
> >
> > echo -n -e '\xf4\x85\x84' > test
> > grep -i foo test
> >
> > Which crashed with grep-2.14-1 but not any more with grep-2.14-2.
> >
> > Sylvain
> I can confirm the problem is fixed.  The same test no longer crashes.

Thanks, guys.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20130814/bdfdcfcc/attachment.sig>


More information about the Cygwin mailing list