Use -Db_sanitize=address,undefined in Fedora CI

This would have caught the recent memory corruption automatically.
This commit is contained in:
Richard Hughes 2022-07-29 16:25:20 +01:00
parent 47efacfe5d
commit c611e9f37e
2 changed files with 13 additions and 0 deletions

View File

@ -1727,6 +1727,18 @@
<package variant="x86_64" />
</distro>
</dependency>
<dependency type="build" id="libasan">
<distro id="fedora">
<!-- for running with -Db_sanitize=address -->
<package variant="x86_64" />
</distro>
</dependency>
<dependency type="build" id="libubsan">
<distro id="fedora">
<!-- for running with -Db_sanitize=undefined -->
<package variant="x86_64" />
</distro>
</dependency>
<dependency type="build" id="wine">
<distro id="fedora">
<!-- for running the self tests -->

View File

@ -20,6 +20,7 @@ meson .. \
-Ddocs=disabled \
-Dman=true \
-Dtests=true \
-Db_sanitize=address,undefined \
-Dgusb:tests=false \
-Dplugin_dummy=true \
-Dplugin_flashrom=enabled \