summaryrefslogtreecommitdiff
path: root/python/libxml.py
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2013-02-19 10:21:49 +0800
committerDaniel Veillard <veillard@redhat.com>2013-02-19 10:21:49 +0800
commit23f05e0c33987d6605387b300c4be5da2120a7ab (patch)
tree15c2ddd1753864262c067bed895d845ec7faff08 /python/libxml.py
parentbf058dce131751ff8b69d32eae68cf564cd73aef (diff)
downloadlibxml2-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