[third_party/ogg] suppress ubsan
The ogg demux in third_party/ogg fails ubsan:
[64.398] 88521.88525> ../../third_party/ogg/src/framing.c:637:31:
runtime error: applying zero offset to null pointer
This CL suppresses ubsan for the third_party/ogg build
Change-Id: Ia72ac2174da8832510ef5adaaf7908eb626ed346
diff --git a/BUILD.gn b/BUILD.gn
index 7d9d72e..94e0c14 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -14,5 +14,10 @@
"src/crctable.h",
"src/framing.c",
]
+
public_configs = [ ":ogg_include_config" ]
+
+ # TODO(47041): UBSan has found an instance of undefined behavior in this target.
+ # framing.c:637:31: runtime error: applying zero offset to null pointer
+ configs += [ "//build/config:temporarily_disable_ubsan_do_not_use" ]
}