[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Valgrind is complaining unitialized values in freea (malloca.c:135)
From: |
Bruno Haible |
Subject: |
Re: Valgrind is complaining unitialized values in freea (malloca.c:135) |
Date: |
Tue, 22 Aug 2017 18:39:10 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-91-generic; KDE/5.18.0; x86_64; ; ) |
Hi,
Marc Nieper-Wißkirchen wrote:
> 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
It can be silenced: The Gnulib 'malloca' module comes with a file
'malloca.valgrind'. Use a valgrind command-line option such as
--suppressions=$(srcdir)/gnulib-lib/malloca.valgrind
You need to adjust the path to the file, to match the directory structure of
your package.
Bruno
- Re: clang's Undefined Sanitizer, (continued)
- Re: clang's Undefined Sanitizer, Bruno Haible, 2017/08/24
- Re: c99 and IRIX, Bruno Haible, 2017/08/24
- Re: c99 and IRIX, Paul Eggert, 2017/08/24
- Re: c99 and IRIX, Tom G. Christensen, 2017/08/29
- Re: clang's Undefined Sanitizer, Bruno Haible, 2017/08/24
- Re: clang's Undefined Sanitizer, Paul Eggert, 2017/08/25
- Re: clang's Undefined Sanitizer, Bruno Haible, 2017/08/27
- Re: clang's Undefined Sanitizer, Tim Rühsen, 2017/08/23
Re: Valgrind is complaining unitialized values in freea (malloca.c:135),
Bruno Haible <=