summaryrefslogtreecommitdiff
path: root/test/errors
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2015-09-15 16:50:32 +0800
committerDaniel Veillard <veillard@redhat.com>2015-09-15 16:50:32 +0800
commit51f02b0a03ea1fa6c65b3f9fd88cf60fb5803783 (patch)
treef10b3ff508b1b39c15b1a9937ae33dd7bbcbf5d2 /test/errors
parentef709ce2f7b792d5fb69ed142796d743fb1eb388 (diff)
downloadlibxml2-51f02b0a03ea1fa6c65b3f9fd88cf60fb5803783.tar.gz
Fix a bug on name parsing at the end of current input buffer
For https://bugzilla.gnome.org/show_bug.cgi?id=754946 When hitting the end of the current input buffer while parsing a name we could end up loosing the beginning of the name, which led to various issues.
Diffstat (limited to 'test/errors')
-rw-r--r--test/errors/754946.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/errors/754946.xml b/test/errors/754946.xml
new file mode 100644
index 00000000..6b5f9b06
--- /dev/null
+++ b/test/errors/754946.xml
@@ -0,0 +1 @@
+<!DOCTYPEA[<!ENTITY % SYSTEM "A<lbbbbbbbbbbbbbbbbbbb_" >%SYSTEM;<![ \ No newline at end of file