diff --git a/infra/base-images/base-builder/Dockerfile b/infra/base-images/base-builder/Dockerfile index 9868b8c01133..13f663bfcc2f 100644 --- a/infra/base-images/base-builder/Dockerfile +++ b/infra/base-images/base-builder/Dockerfile @@ -20,7 +20,7 @@ RUN apt-get install -y git subversion jq python3 zip # Default build flags for various sanitizers. ENV SANITIZER_FLAGS_address "-fsanitize=address" -ENV SANITIZER_FLAGS_undefined "-fsanitize=bool,function,signed-integer-overflow,shift,vptr -fno-sanitize-recover=undefined" +ENV SANITIZER_FLAGS_undefined "-fsanitize=bool,function,signed-integer-overflow,shift,vla-bound,vptr -fno-sanitize-recover=undefined" ENV SANITIZER_FLAGS_memory "-fsanitize=memory -fsanitize-memory-track-origins" # Default build flags for coverage.