google / oss-fuzz

OSS-Fuzz - continuous fuzzing for open source software.
https://google.github.io/oss-fuzz
Apache License 2.0
10.12k stars 2.15k forks source link

gnutls: Use latest builder #12096

Open maflcko opened 1 week ago

github-actions[bot] commented 1 week ago

maflcko has previously contributed to projects/gnutls. The previous PR was #11714

maflcko commented 1 week ago

cc @ueno

maflcko commented 1 week ago

An alternative would be to disable the flag that caused this (and is now enabled by default in clang):


diff --git a/projects/gnutls/build.sh b/projects/gnutls/build.sh
index 196826b7d..ed7af5f0c 100755
--- a/projects/gnutls/build.sh
+++ b/projects/gnutls/build.sh
@@ -57,6 +57,8 @@ make -j$(nproc)
 make install

 NETTLE_CONFIGURE_FLAGS=""
+CFLAGS="$CFLAGS     -fno-sanitize-address-use-odr-indicator"
+CXXFLAGS="$CXXFLAGS -fno-sanitize-address-use-odr-indicator"
 if [[ $CFLAGS = *sanitize=memory* ]]; then
   NETTLE_CONFIGURE_FLAGS="--disable-assembler --disable-fat"
 fi
jonathanmetzman commented 1 week ago

@ueno Do you approve?