bug-gnulib
[Top][All Lists]
Advanced

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

Valgrind is complaining unitialized values in freea (malloca.c:135)


From: Marc Nieper-Wißkirchen
Subject: Valgrind is complaining unitialized values in freea (malloca.c:135)
Date: Tue, 22 Aug 2017 06:11:41 +0000

In freea in malloca.c, a possibly uninitialized indicator word is used for a comparison so that Valgrind reports: "Conditional jump or move depends on uninitialised value(s)".

Valgrind is not smart enough to understand the logic in freea.

It would be nice if the warning could be silenced, either by amending freea slightly (it seems that a similar thing has already been done for Clang warnings) or by reporting the issue to the Valgrind developers so that they can special-case gnulib's freea.

--

Marc

reply via email to

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