Mercurial > pidgin
diff libpurple/tests/tests.h @ 31680:c8f91310bfbf
Add a silly little check to make sure our xml parser isn't vulnerable to the
billion laughs attack. I think because we specify NULL as the entity
resolver, attempts to define entities in an xml doc just get ignored.
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Wed, 22 Jun 2011 17:43:51 +0000 |
| parents | 81a2ec76c285 |
| children |
line wrap: on
line diff
--- a/libpurple/tests/tests.h Tue Jun 21 07:43:07 2011 +0000 +++ b/libpurple/tests/tests.h Wed Jun 22 17:43:51 2011 +0000 @@ -16,6 +16,7 @@ Suite * oscar_util_suite(void); Suite * yahoo_util_suite(void); Suite * util_suite(void); +Suite * xmlnode_suite(void); /* helper macros */ #define assert_int_equal(expected, actual) { \
