Resolve address sanitizer finding when using clang compiler.