Control: retitle -1 infinite loop or segmentation fault in grep -P on some
files with invalid UTF-8
Another testcase, this time with a segmentation fault:
$ /usr/bin/printf d\214\366u | grep -P d.?ru
Segmentation fault (core dumped)
--
Vincent Lefèvre vinc...@vinc17.net - Web:
Package: grep
Control: tags -1 + confirmed
Control: forwarded -1 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16586
Confirmed and forwareded.
Thanks for your report,
Santiago
On Tue, Jan 28, 2014 at 01:13:24PM +0100, Vincent Lefevre wrote:
Package: grep
Version: 2.16-1
Severity: important
Package: grep
Version: 2.16-1
Severity: important
grep -P loops on some files with invalid UTF-8 sequences, e.g.
$ /usr/bin/printf \xe9\x65\n\xab\n | grep -P '.e|.?z' | head
�e
�e
�e
�e
�e
�e
�e
�e
�e
�e
(the infinite loop is interrupted here by a broken pipe due to
the head).
It seems that
3 matches
Mail list logo