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

Sylvain Pasche sylvain.pasche@gmail.com
Tue Aug 13 19:39:00 GMT 2013


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


--
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



More information about the Cygwin mailing list