reassign 639074 valgrind thanks On Tue, Aug 23, 2011 at 11:32:29PM +0200, Matteo Cypriani wrote: > Package: libconfuse-dev > Version: 2.7-4 > Severity: normal > > > Hello, > > After calling cfg_init(), the first call to strerror_r() (and perror(), by > the way) causes reading unitialised value. See the attached test program for > more details. Here is the valgrind output (the verbose valgrind output is > also attached):
Actually it doesn't. strerror indirectly calls strcasecmp() which is optimized using SSE, and is looking for the end of the string 16 bytes at a time using SSE instructions. It is something allowed depending on the alignment of the string and as long as a page is not crossed. Unfortunately valgrind is not able to cope with that and issue this error. This is a valgrind issue, not a libconfuse issue. Reassigning the bug. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org