https://bugs.kde.org/show_bug.cgi?id=444431
Bug ID: 444431 Summary: Incorrectly assumes static text is uninitialized Product: valgrind Version: unspecified Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: memcheck Assignee: jsew...@acm.org Reporter: 0456...@gmail.com Target Milestone: --- SUMMARY ``` ==123288== Use of uninitialised value of size 8 ==123288== at 0x48447B2: strlen (vg_replace_strmem.c:469) ==123288== by 0x4153B7: setVar (clibasic.c:2096) ==123288== by 0x41939E: runcmd.part.0 (commands.c:57) ==123288== by 0x40487D: runcmd (clibasic.c:3265) ==123288== by 0x40487D: main (clibasic.c:1140) ==123288== ==123288== Use of uninitialised value of size 8 ==123288== at 0x48447C4: strlen (vg_replace_strmem.c:469) ==123288== by 0x4153B7: setVar (clibasic.c:2096) ==123288== by 0x41939E: runcmd.part.0 (commands.c:57) ==123288== by 0x40487D: runcmd (clibasic.c:3265) ==123288== by 0x40487D: main (clibasic.c:1140) ==123288== ==123288== Use of uninitialised value of size 8 ==123288== at 0x4B7DA40: __strcpy_avx2 (in /usr/lib/libc-2.33.so) ==123288== by 0x4153D9: setVar (clibasic.c:2097) ==123288== by 0x41939E: runcmd.part.0 (commands.c:57) ==123288== by 0x40487D: runcmd (clibasic.c:3265) ==123288== by 0x40487D: main (clibasic.c:1140) ==123288== ... ``` The string that was being passed is `"0"`. -- You are receiving this mail because: You are watching all bug changes.