bug-gnulib
[Top][All Lists]
Advanced

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

Re: malloca, freea are not thread-safe


From: Bruno Haible
Subject: Re: malloca, freea are not thread-safe
Date: Thu, 11 Jan 2018 05:31:42 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-104-generic; KDE/5.18.0; x86_64; ; )

Florian Weimer wrote:
> freea also causes valgrind warnings because it contains an out-of-bounds 
> access.  This is very undesirable because it will cause programmers to 
> miss real bugs.

As a mitigation, the 'malloca' module contains a file, malloca.valgrind, that
tells valgrind to ignore these accesses to "uninitialized memory".

Bruno




reply via email to

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