libvips/fuzz
Kleis Auke Wolthuizen 5ab66e16e1
Fix UBSan errors (#1948)
* Ensure UBSan exits with a non-zero code on error

* Avoid misaligned member access in mosaic_fuzzer

* Add missing VIPS_CLIP in scRGB2sRGB/scRGB2BW

* Fix UBSan error in flatten

By using saturated casts for the int types (copied from vips_cast).

* CI: ensure fuzzer log is printed on error

* Avoid UB in heifload

* Revert flatten change

I could no longer reproduce this with clang 12 locally.

* Indentation fixes [skip ci]
2021-09-12 13:14:24 +01:00
..
common_fuzzer_corpus gifload: ensure total height of all pages is sanitised 2020-11-21 11:55:18 +00:00
Makefile.am Add gifsave operation, depends on cgif and libimagequant (#2381) 2021-08-22 18:11:41 +01:00
StandaloneFuzzTargetMain.c improve fuzz targets and oss-fuzz integration 2019-07-15 14:02:27 +02:00
gifsave_buffer_fuzzer.cc Add gifsave operation, depends on cgif and libimagequant (#2381) 2021-08-22 18:11:41 +01:00
jpegsave_buffer_fuzzer.cc block fuzz data over 100kb 2020-07-25 14:46:44 +01:00
jpegsave_file_fuzzer.cc block fuzz data over 100kb 2020-07-25 14:46:44 +01:00
mosaic_fuzzer.cc Fix UBSan errors (#1948) 2021-09-12 13:14:24 +01:00
pngsave_buffer_fuzzer.cc block fuzz data over 100kb 2020-07-25 14:46:44 +01:00
sharpen_fuzzer.cc block fuzz data over 100kb 2020-07-25 14:46:44 +01:00
smartcrop_fuzzer.cc block fuzz data over 100kb 2020-07-25 14:46:44 +01:00
test_fuzz.sh Fix UBSan errors (#1948) 2021-09-12 13:14:24 +01:00
thumbnail_fuzzer.cc block fuzz data over 100kb 2020-07-25 14:46:44 +01:00
webpsave_buffer_fuzzer.cc block fuzz data over 100kb 2020-07-25 14:46:44 +01:00