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: Sylvain Pasche <sylvain dot pasche at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 13 Aug 2013 21:33:25 +0200
- Subject: Re: [64-bit] egrep core dumps when it opens binary files
- References: <52080B35 dot 5040106 at jsbc dot cc> <20130812124954 dot GF2691 at calimero dot vinschen dot de> <20130812174122 dot GH2691 at calimero dot vinschen dot de>
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