]> git.ipfire.org Git - thirdparty/util-linux.git/commit
oss-fuzz: turn on the alignment check explicitly
authorEvgeny Vereshchagin <evvers@ya.ru>
Fri, 18 Nov 2022 07:09:30 +0000 (07:09 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Fri, 18 Nov 2022 07:14:15 +0000 (07:14 +0000)
commit665c938b7dbe5b4ea686e413fe65780adb9434cd
treeac3631658460d42732740cfbe9d4dbdb2c70bb65
parent6ed644fbf4869a7e042826900eff531cf6660cfb
oss-fuzz: turn on the alignment check explicitly

to somewhat cover architectures where unaligned access can lead to
crashes and make it possible for OSS-Fuzz to catch issues like
https://github.com/util-linux/util-linux/pull/1906.

With this patch applied the libblkid fuzz target built with the OSS-Fuzz
toolchain triggers "runtime error: load of misaligned address" in `probe_exfat`
so it seems to be working.
tools/oss-fuzz.sh