From kde-bugs-dist Thu Oct 31 23:36:53 2013 From: David Dyck Date: Thu, 31 Oct 2013 23:36:53 +0000 To: kde-bugs-dist Subject: [valgrind] [Bug 326955] false positive : move depends on uninitialised value wcscpy Message-Id: X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=138326262008991 https://bugs.kde.org/show_bug.cgi?id=326955 --- Comment #4 from David Dyck --- Also occurs with valgrind 3.8.1 > valgrind --version valgrind-3.8.1 > g++ -Wall -O0 -g valgrind_bug_wcscpy.c && valgrind --track-origins=yes ./a.out ==9859== Memcheck, a memory error detector ==9859== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al. ==9859== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info ==9859== Command: ./a.out ==9859== ==9859== Conditional jump or move depends on uninitialised value(s) ==9859== at 0x42DC491: __wcscpy_ssse3 (in /lib/libc-2.15.so) ==9859== by 0x41AF3D4: (below main) (in /lib/libc-2.15.so) ==9859== Uninitialised value was created by a stack allocation ==9859== at 0x8048522: main (valgrind_bug_wcscpy.c:23) ==9859== ==9859== Conditional jump or move depends on uninitialised value(s) ==9859== at 0x42DC9E7: __wcscpy_ssse3 (in /lib/libc-2.15.so) ==9859== by 0x41AF3D4: (below main) (in /lib/libc-2.15.so) ==9859== Uninitialised value was created by a stack allocation ==9859== at 0x8048522: main (valgrind_bug_wcscpy.c:23) ==9859== ==9859== Conditional jump or move depends on uninitialised value(s) ==9859== at 0x42DC9EB: __wcscpy_ssse3 (in /lib/libc-2.15.so) ==9859== by 0x41AF3D4: (below main) (in /lib/libc-2.15.so) ==9859== Uninitialised value was created by a stack allocation ==9859== at 0x8048522: main (valgrind_bug_wcscpy.c:23) ==9859== ==9859== ==9859== HEAP SUMMARY: ==9859== in use at exit: 0 bytes in 0 blocks ==9859== total heap usage: 0 allocs, 0 frees, 0 bytes allocated ==9859== ==9859== All heap blocks were freed -- no leaks are possible ==9859== ==9859== For counts of detected and suppressed errors, rerun with: -v ==9859== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) -- You are receiving this mail because: You are watching all bug changes.