On 08/08/2014 01:15 PM, William Brana wrote:
Hello, I'm getting warnings like following from valgrind when libXcursor is compiled with -O2 -finline-functions and gcc 4.8.3 or 4.7.4, but not with -O2. Is it miscompiled or false positive?
Can you run valgrind with debugging information? It might us tell us at least which allocation is too short.
It could be a harmless over-read from the libc string functions (particularly if valgrind has not been set up correctly on your system).
-- Florian Weimer / Red Hat Product Security