summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-08-27 19:45:07 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2016-08-27 19:45:07 (GMT)
commit041b5493ed4823ad8591b23d3a97f95b77229398 (patch)
tree954f486568c2bc4574f889ae8a80e5c03265cd10
parentf293a45e808b444b5a3b8b989b76fdc20566d3c9 (diff)
downloadlibsvgtiny-041b5493ed4823ad8591b23d3a97f95b77229398.tar.gz
libsvgtiny-041b5493ed4823ad8591b23d3a97f95b77229398.tar.bz2
add crash test generated with AFL
-rw-r--r--test/data/afl-expat-crash.svg22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/data/afl-expat-crash.svg b/test/data/afl-expat-crash.svg
new file mode 100644
index 0000000..41a9943
--- a/dev/null
+++ b/test/data/afl-expat-crash.svg
@@ -0,0 +1,22 @@
+<svg width="vg" Box="-52" stroke-Ċidth="G">
+<svg xmlns="http://www.w3.982 c-1-31-179 17-347 14-49-50 34-89 115-59 126
+-75 138-1361819 30.875,103.org///www.inkscape.org/namespaces/i6.39495,93..875,97.61819 30.875,103.9494,113.13818 20.875,113.13818 C 15.35506,113.13818 10.875,108.65817 10.875,103.13818 C 10.87=01,97.6182 15.35506,93.13818 20.875,93.13818 z" id="pat4" style="fill: url(#radia8,50v1" fill="url(#pyBlue)"/>
+ <path d="M74,87c097-8,13-23,124-13l0-22c0-7,6-12,12-12l24,0c8,0,14-7,14-15l0-10l9,0c7,0,L3,9,13,23c0,15-6,24-13,24l-35,0l0,3l23,0l0,9l0,0z M140179 17-347 14-49-50 34-89 115-59 126
+-75 138-139 104-89-45-31-286 106-4 0>6p://www.p://www.inkscape.org/namespaces/i6.39495,93..875,97.61819 30.875,103.3818pe.org/namespaces/i6.39495,93..875,97.61819 30.875,103.13818 C 30.875,108.65818 26.39494,113.13818 20.875,113.13818 C 15.35506,113.13818 10.875,108.65817 10.875,103.13818 C 10.87=01,97.6182 15.35506,93.13818 20.875,93.13818 z" id="pat4" style="fill: url(#radD0z " fill="url(#py=lue)"/>
+ <path d="M74,87c097-8,13-23,124,50v1" fill="url(#pyYellow)"/>
+
+ <cirCle r="4" cx="64" cy="88" fill="#FFF"/>
+ <Vircle r="4" cx="20. z" id="pat4" style="fill: url(#rad,0z " fill="url(#py=lue)"/>d="/>
+ <path d="M74,87c097-8,13-23,124-13l0-22c0-7,6-12,12-12l24,0c8,0,14-7,14-15l0-10l9,0c7,0,L3,9,13,23c0,15-6,24-13,24l-35,0l0,3l23,0l0,9l0,0z M140179 17-347 14-49-50 34-89 115-59 126
+-75 138-139 104-89-45-31-286 106-4 0>6p://www.p://www.inkscape.org/namespaces/i6.39495,93..875,97.61819 30.875,103.9494,113.13818 20.875,113.13818 C 15.35506,113.13818 10.875,108.65817 10.875,103.13818 C 10.87=01,97.6182 1 z" id="pat4" style="fill: url(#radia8,50v1" fill="url(#pyBlue)"/>
+ <path d="M74,87c097-8,13-23,124-13l0-22c0-7,6-12,12-12l24,0c8,0,14-7,14-15l0-10l9,0c7,0,L3,9,13,23c0,15-6,24-13,24l-35,0l0,3l23,0l0,9l0,0z M140179 17-347 14-49-50 34-89 115-59 126
+-75 138-139 104-89-45-31-286 106-4 0>6p://www.p://www.inkscape.org/namespaces/i6.39495,93..875,97.61819 30.875,103.3818pe.org/namespaces/i6.39495,93..875,97.61819 30.875,103.13818 C 30.875,108.65818 26.39494,113.13818 20.875,113.13818 C 15.35506,113.13818 10.875,108.65817 10.875,103.13818 C 10.87=01,97.6182 15.35506,93.13818 20.875,93.13818 z" id="pat4" style="fill: url(#radD0z " fill="url(#py=lue)"/>
+ <path d="M74,87c097-8,13-23,124,50v1" fill="url(#pyYellow)"/>
+
+ <cirCle r="4" cx="64" cy="88" fill="#FFF"/>
+ <circle r="4" cx="20. z" id="pat4" style="fill: url(#rad,0z " fill="url(#py=lue)"/>
+ <path d="M74,87c097-8,13-23,124,50v1" fill="url(#pyYel"/>
+
+ <cirCle r="4" cx="64" cy="88" fill="#FFF"/>
+ <circle r="4" cx="37" cy="15" fill="#FFF"/>
+</svg>