GNU bug report logs - #16586
grep: infinite loop in grep -P on some files with invalid UTF-8 sequences

Previous Next

Package: grep;

Reported by: Santiago <santiago <at> debian.org>

Date: Wed, 29 Jan 2014 09:46:02 UTC

Severity: important

Found in version 2.16

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Forwarded to Philip Hazel <ph10@hermes.cam.ac.uk>

Full log


View this message in rfc822 format

From: Santiago <santiago <at> debian.org>
To: 736919 <at> bugs.debian.org, Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 16586 <at> debbugs.gnu.org
Subject: bug#16586: grep: infinite loop in grep -P on some files with invalid UTF-8 sequences
Date: Tue, 15 Apr 2014 16:10:29 +0200
On Sat, Mar 08, 2014 at 03:07:00PM -0800, Paul Eggert wrote:
> For what it's worth I can't reproduce this bug on Fedora 20 x86-64,
> even with valgrind and/or GCC -faddress=sanitize.  I'm using Fedora
> pcre-8.33-4.fc20.x86_64.
> 

Indeed, it was a debian-pcre-specific bug. New pcre package (1:8.31-3)
enables JIT regex compilation and solves the issue.

I'm updating grep's dependencies to close this bug in debian.

Regards,

Santiago




This bug report was last modified 11 years and 33 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.