GNU bug report logs - #21273
[PATCH] grep: avoid use of uninitialized variable

Previous Next

Package: grep;

Reported by: Norihiro Tanaka <noritnk <at> kcn.ne.jp>

Date: Sun, 16 Aug 2015 02:19:02 UTC

Severity: normal

Tags: patch

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Norihiro Tanaka <noritnk <at> kcn.ne.jp>
To: 21273 <at> debbugs.gnu.org
Subject: bug#21273: [PATCH] grep: avoid use of uninitialized variable
Date: Sun, 16 Aug 2015 11:17:52 +0900
[Message part 1 (text/plain, inline)]
Uninitialized value of variable BACKREF is referred in EGexecute.  It
does not cause wrong result, but regex may be used even when it is not
needed.  It may lead grep to slowdown.

By the way, gawk initializes the variable already, so it does not have
to be fixed.
[0001-grep-avoid-use-of-uninitialized-variable.patch (text/plain, attachment)]

This bug report was last modified 9 years and 276 days ago.

Previous Next


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