ci/fuzzing: update glib version to 2.72.0
authorMatthew Waters <matthew@centricular.com>
Fri, 18 Mar 2022 07:35:05 +0000 (18:35 +1100)
committerMatthew Waters <matthew@centricular.com>
Fri, 18 Mar 2022 07:35:05 +0000 (18:35 +1100)
Fixes an issue where on configure, glib's internal gnulib was tripping
up the undefined behaviour sanitizer with a divide by 0.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1976>

ci/fuzzing/build-oss-fuzz.sh

index b5334fb..cb4801c 100755 (executable)
@@ -42,8 +42,8 @@ cd $WORK
 
 # 1) BUILD GLIB AND GSTREAMER
 # Note: we build glib ourselves so that we get proper malloc/free backtraces
-tar xvJf $SRC/glib-2.64.2.tar.xz
-cd glib-2.64.2
+tar xvJf $SRC/glib-2.72.0.tar.xz
+cd glib-2.72.0
 # options taken from glib's oss-fuzz build definition
 meson \
     --prefix=$PREFIX \
@@ -52,7 +52,6 @@ meson \
     -Db_lundef=false \
     -Doss_fuzz=enabled \
     -Dlibmount=disabled \
-    -Dinternal_pcre=true \
     _builddir
 ninja -C _builddir
 ninja -C _builddir install