We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
LIBXML_PARSEHUGE
1 parent 4de6272 commit 77ae1d1Copy full SHA for 77ae1d1
1 file changed
reference/libxml/constants.xml
@@ -277,6 +277,13 @@
277
limits like maximum depth of a document or the entity recursion, as well as limits of the
278
size of text nodes.
279
</simpara>
280
+ <caution>
281
+ <simpara>
282
+ Because this relaxes the hardcoded limits, it should only be used with trusted data.
283
+ Removing the depth limit on untrusted input can lead to excessive resource consumption,
284
+ such as a stack overflow while processing a deeply nested document.
285
+ </simpara>
286
+ </caution>
287
<note>
288
<para>
289
Only available in Libxml >= 2.7.0 (as of PHP >= 5.3.2 and PHP >= 5.2.12)
0 commit comments