You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with clang -fsanitize=vla-bound -ftrivial-auto-var-init=zero
or with clang -fsanitize=vla-bound -ftrivial-auto-var-init=pattern
Run the executable and see that UBSan rt catches segfault: UndefinedBehaviorSanitizer:DEADLYSIGNAL.
With clang -fsanitize=vla-bound -ftrivial-auto-var-init=uninitialized
UBSan works fine and the process terminates with zero exit-code.
Observed in clang-17.0.6 and clang-18.1.3.
OSes: Ubuntu-24.04 and ArchLinux.
The text was updated successfully, but these errors were encountered:
Just compile
with
clang -fsanitize=vla-bound -ftrivial-auto-var-init=zero
or with
clang -fsanitize=vla-bound -ftrivial-auto-var-init=pattern
Run the executable and see that UBSan rt catches segfault:
UndefinedBehaviorSanitizer:DEADLYSIGNAL
.With
clang -fsanitize=vla-bound -ftrivial-auto-var-init=uninitialized
UBSan works fine and the process terminates with zero exit-code.
Observed in clang-17.0.6 and clang-18.1.3.
OSes: Ubuntu-24.04 and ArchLinux.
The text was updated successfully, but these errors were encountered: