path: root/tests/libfuzzer/gui/iccparser/
diff options
authorAllan Sandfeld Jensen <>2019-07-30 10:40:47 +0200
committerAllan Sandfeld Jensen <>2019-07-31 21:47:04 +0200
commita2c1109152a8afe40d420342cf20a3f84f483e92 (patch)
tree4a3db111587a7931c5c89da9795096e2e1dddfa7 /tests/libfuzzer/gui/iccparser/
parent4583555b8cae63a91e25d61936cef3a30446fbc8 (diff)
Harden ICC parser
Add missing implicit size checks of tags by passing the already checked explicitly given size forward. Also adds my fuzzing test for the ICC parser as it is security critical, by being used by multiple image formats. Change-Id: Ieb632ccb78f9b445a276959ffbd66fa04a7a5b45 Reviewed-by: Eirik Aavitsland <>
Diffstat (limited to 'tests/libfuzzer/gui/iccparser/')
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libfuzzer/gui/iccparser/ b/tests/libfuzzer/gui/iccparser/
new file mode 100644
index 0000000000..bf4037eae7
--- /dev/null
+++ b/tests/libfuzzer/gui/iccparser/
@@ -0,0 +1,3 @@
+QT += gui
+SOURCES += main.cpp
+LIBS += -fsanitize=fuzzer