|
From: | Paolo Bonzini |
Subject: | Re: Grep Bug |
Date: | Tue, 14 Dec 2010 11:16:02 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.6 |
On 12/13/2010 06:39 PM, Eric Blake wrote:
If this is a case of causing grep to recurse deeper than the stack bounds allow, it may be possible to teach grep how to recognize stack overflow and exit with a more graceful error than a segfault, by using the gnulib c-stack module.
Yes, that's a possibility. Also, can you tell us your version of grep? Using \n in "grep -P" worked by chance and has been fixed in the latest versions.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |