[lasem] tests: add a crashing file found using fuzzxml from Morten.



commit 0a2ff914739d6c728738974f395c8ba849232c9f
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Tue May 3 10:04:26 2011 +0200

    tests: add a crashing file found using fuzzxml from Morten.
    
    The crash comes from a circular reference in the fill attribute.

 .../svg/ignore-crashers/circular-reference.svg     |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/tests/data/svg/ignore-crashers/circular-reference.svg b/tests/data/svg/ignore-crashers/circular-reference.svg
new file mode 100644
index 0000000..1bf0ec7
--- /dev/null
+++ b/tests/data/svg/ignore-crashers/circular-reference.svg
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
+	<pattern patternUnits="userSpaceOnUse" id="pat1" x="10" y="10" width="20" height="20">
+		<rect x="5" y="5" width="10" height="10" fill="url(#pat1)" />
+		<rect x="10" y="10" width="10" height="10" fill="green" />
+	</pattern>
+	<rect x="25" y="10" width="430" height="60" stroke="black" fill="url(#pat1)" />
+</svg>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]