[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [valgrind] [Bug 326955] false positive : move depends on uninitialised value wcscpy
From:       David Dyck <david.dyck () fluke ! com>
Date:       2013-10-31 23:36:53
Message-ID: bug-326955-17878-ekGHVtJVfn () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=326955

--- Comment #4 from David Dyck <david.dyck@fluke.com> ---
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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic