bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18738: Reference of a uninitialized variable in grep -P


From: Paul Eggert
Subject: bug#18738: Reference of a uninitialized variable in grep -P
Date: Wed, 15 Oct 2014 21:42:36 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

Norihiro Tanaka wrote:

BTW, validation_boundary isn't initialized before pre-searching for an
empty line

Oh, so *that's* the uninitialized variable you were referring to! Sorry, I didn't know. Yes, it should be initialized; it's not portable to assume that NULL < valid pointers. I installed your patch.

This whole area should be cleaned up, I think, but not just before a release.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]