This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]