Bug#736919: infinite loop in grep -P on some files with invalid UTF-8 sequences

2014-02-20 Thread Vincent Lefevre
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:

Bug#736919: infinite loop in grep -P on some files with invalid UTF-8 sequences

2014-01-29 Thread Santiago
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

Bug#736919: infinite loop in grep -P on some files with invalid UTF-8 sequences

2014-01-28 Thread Vincent Lefevre
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