https://llvm.org/bugs/show_bug.cgi?id=28789
Bug ID: 28789 Summary: Uninitialized memory read in printf is not detected by memory sanitizer Product: clang Version: 3.8 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: -New Bugs Assignee: unassignedclangb...@nondot.org Reporter: halya...@chromium.org CC: k...@google.com, llvm-bugs@lists.llvm.org Classification: Unclassified The following program doesn't crash when compiled with memory sanitizer (without libc instrumentation). #include <stdio.h> int main() { int x = 1; printf("%lld %lld %lld %lld %lld %lld\n", x, x, x, x, x, x); } It prints "1 1 1 1 1 <huge_number>" but sanitizer is silent. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs