This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [64-bit] egrep core dumps when it opens binary files
- From: Jim Burwell <jimb at jsbc dot cc>
- To: The Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Tue, 13 Aug 2013 20:01:04 -0700
- Subject: Re: [64-bit] egrep core dumps when it opens binary files
> 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.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple