diff options
author | Daniel Veillard <veillard@redhat.com> | 2013-02-19 10:21:49 +0800 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2013-02-19 10:21:49 +0800 |
commit | 23f05e0c33987d6605387b300c4be5da2120a7ab (patch) | |
tree | 15c2ddd1753864262c067bed895d845ec7faff08 /python/libxml.py | |
parent | bf058dce131751ff8b69d32eae68cf564cd73aef (diff) | |
download | libxml2-23f05e0c33987d6605387b300c4be5da2120a7ab.tar.gz |
Detect excessive entities expansion upon replacement
If entities expansion in the XML parser is asked for,
it is possble to craft relatively small input document leading
to excessive on-the-fly content generation.
This patch accounts for those replacement and stop parsing
after a given threshold. it can be bypassed as usual with the
HUGE parser option.
Diffstat (limited to 'python/libxml.py')
0 files changed, 0 insertions, 0 deletions