GNU bug report logs - #17328
dfa.c will fail if used on more than one DFA

Previous Next

Package: grep;

Reported by: Aharon Robbins <arnold <at> skeeve.com>

Date: Wed, 23 Apr 2014 18:37:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Norihiro Tanaka <noritnk <at> kcn.ne.jp>, 17328 <at> debbugs.gnu.org,  arnold <at> skeeve.com
Subject: bug#17328: dfa.c will fail if used on more than one DFA
Date: Wed, 23 Apr 2014 23:23:20 -0700
[Message part 1 (text/plain, inline)]
Thanks.  We can improve on that a bit, by using one of the pointers to 
indicate whether the storage is allocated, instead of requiring an extra 
boolean for this information.  I pushed the attached patch.
[0001-dfa-fix-memory-leak-reintroduced-by-previous-patch.patch (text/plain, attachment)]

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

Previous Next


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