diff --git a/runtime/libcn/libexec/cn-runtime-single-file.sh b/runtime/libcn/libexec/cn-runtime-single-file.sh index 72bc2226a..e51fee8be 100755 --- a/runtime/libcn/libexec/cn-runtime-single-file.sh +++ b/runtime/libcn/libexec/cn-runtime-single-file.sh @@ -24,8 +24,9 @@ while getopts "hnqu" flag; do QUIET=1 ;; u) + export ASAN_OPTIONS="allocator_may_return_null=1:detect_leaks=0" export UBSAN_OPTIONS=halt_on_error=1 - export CFLAGS="-fsanitize=undefined" + export CFLAGS="-fsanitize=address,undefined" ;; \?) echo_and_err "${USAGE}"