diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2008-08-28 15:36:32 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2008-08-28 15:36:32 +0000 |
commit | 0161e638c697890020c410dbedec9bb516d0fe49 (patch) | |
tree | 94453bdcdfaedf9e12ddd3a98e8ff37f847242b9 /include | |
parent | 49d4405a6d76a91d61dbbd9e228bf31034c8da29 (diff) | |
download | android_external_libxml2-0161e638c697890020c410dbedec9bb516d0fe49.tar.gz android_external_libxml2-0161e638c697890020c410dbedec9bb516d0fe49.tar.bz2 android_external_libxml2-0161e638c697890020c410dbedec9bb516d0fe49.zip |
completely different fix for the recursion detection based on entity
* parser.c include/libxml/parser.h: completely different fix for
the recursion detection based on entity density, big cleanups
in the entity parsing code too
* result/*.sax*: the parser should not ask for used defined versions
of the predefined entities
* testrecurse.c: automatic test for entity recursion checks
* Makefile.am: added testrecurse
* test/recurse/lol* test/recurse/good*: a first set of tests for
the recursion
Daniel
svn path=/trunk/; revision=3783
Diffstat (limited to 'include')
-rw-r--r-- | include/libxml/parser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libxml/parser.h b/include/libxml/parser.h index 6a7be96c..24d5cf92 100644 --- a/include/libxml/parser.h +++ b/include/libxml/parser.h @@ -298,6 +298,7 @@ struct _xmlParserCtxt { xmlError lastError; xmlParserMode parseMode; /* the parser mode */ unsigned long nbentities; /* number of entities references */ + unsigned long sizeentities; /* size of parsed entities */ }; /** |