Add a test with a long entity name.

2005-01-24  Matthias Clasen  <mclasen@redhat.com>

	* tests/markups/fail-40.gmarkup: Add a test with a long entity
	name.

	* glib/gmarkup.c (unescape_text_state_inside_entity_name): Don't
	copy the entity name into a short buffer of fixed length. Instead,
	compare it in place with strncmp(), and do a full strdup() in the
	error path.  (#165100, Simon Budig)
This commit is contained in:
Matthias Clasen
2005-01-24 17:25:37 +00:00
committed by Matthias Clasen
parent 76d763485b
commit 39a681995c
6 changed files with 52 additions and 22 deletions

View File

@@ -0,0 +1 @@
<bla>&unknownentityname;</bla>