oss-fuzz icon indicating copy to clipboard operation
oss-fuzz copied to clipboard

gnutls: Use latest builder

Open maflcko opened this issue 1 year ago • 4 comments

maflcko avatar Jun 18 '24 19:06 maflcko

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

github-actions[bot] avatar Jun 18 '24 19:06 github-actions[bot]

cc @ueno

maflcko avatar Jun 18 '24 20:06 maflcko

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

maflcko avatar Jun 19 '24 07:06 maflcko

@ueno Do you approve?

jonathanmetzman avatar Jun 20 '24 14:06 jonathanmetzman

(merged with master to re-trigger CI to fix the intermittent network outage, no other changes)

Should be good to merge now.

maflcko avatar Jul 02 '24 09:07 maflcko