|
From: | Paul Eggert |
Subject: | bug#18266: grep -P and invalid exits with error |
Date: | Thu, 14 Aug 2014 09:15:58 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
Santiago wrote:
Please, revert ca7868cc27db3d9deafaa2e0ac5a2bb0aa8ef373
That commit was necessary to avoid undefined behavior in libpcre. We can't simply undo the commit (unless you want to reintroduce security holes into grep :-). The current behavior is the best we can do, unless someone fixes libpcre (which doesn't appear to be likely), or unless someone takes the time to write code in grep to work around the problem.
One way forward is suggested in <http://bugs.gnu.org/17245#43>. No doubt there are others. Can you suggest a volunteer to take this on?
[Prev in Thread] | Current Thread | [Next in Thread] |