Bug ID: 419230
Summary: Memcheck does not report conditional jump on
Version: 3.15 SVN
Target Milestone: ---
Created attachment 127003
Memcheck does not always report a conditional jump based on an uninitialized
value on the stack, but is seems to depend on previous stack allocations.
In attachment a minimal example to reproduce the error. Compiling with macros
INIT_BUFFER=1, TEST_A1=0 and TEST_A2=1, and executing with valgrind will not
report the conditional jump based on uninitialized value.
STEPS TO REPRODUCE
1. Allocate a buffer of 1kB on the stack, clear it and let it go out of scope
2. Allocate a struct on the stack (without initialization), but do not use it
3. Allocate a second struct on the stack (without initialization), and jump
based on a member.
No error is reported
Valgrind should report an conditional jump based on unitialized value
Linux/KDE Plasma: Manjaro
(available in About System)
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.68.0
Qt Version: 4.14.1
compiled with gcc version 9.3.0 (Arch Linux 9.3.0-1)
You are receiving this mail because:
You are watching all bug changes.