mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
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:
committed by
Matthias Clasen
parent
76d763485b
commit
39a681995c
1
tests/markups/fail-40.gmarkup
Normal file
1
tests/markups/fail-40.gmarkup
Normal file
@@ -0,0 +1 @@
|
||||
<bla>&unknownentityname;</bla>
|
Reference in New Issue
Block a user