GNU bug report logs - #16895
[PATCH] grep: fix multiple bugs with bracket expressions

Previous Next

Package: grep;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Thu, 27 Feb 2014 17:35:01 UTC

Severity: normal

Tags: fixed, patch

Fixed in versions 16232, 16777

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

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: bug-grep <at> gnu.org
Subject: [PATCH] grep: fix multiple bugs with bracket expressions
Date: Thu, 27 Feb 2014 09:34:33 -0800
[Message part 1 (text/plain, inline)]
Tags: patch done

I'm afraid there are several problems in the dfa code.  I still don't 
have a handle on all of them, but here's my first patch to deal with the 
first major one I found.  Patterns like [a-[.z.]], which caused 'grep' 
to dump core until recently, still aren't being handled correctly, and 
there are several closely related bugs here.  I've taken the liberty of 
pushing the attached patch.
[0001-grep-fix-multiple-bugs-with-bracket-expressions.patch (text/x-patch, attachment)]

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

Previous Next


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