https://bugs.llvm.org/show_bug.cgi?id=33881
Bug ID: 33881
Summary: ubsan: Program instrumented with -fsanitize=vptr may
crash
Product: clang
Version: 5.0
Hardware: PC
OS: All
Status: NEW
Severity: release blocker
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangb...@nondot.org
Reporter: v...@apple.com
CC: llvm-bugs@lists.llvm.org
-fsanitize=vptr instrumentation does not null check a user pointer before
loading from it. This causes crashes in the face of UB member calls
(this=nullptr), i.e it's causing user programs to crash only after UBSan is
turned on.
I'm wrapping up a patch to address the problem: this PR is to track its
inclusion in the 5.0 release.
--
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