DescriptionFix handling of large xml documents
libxml 2.9.0 (we updated from 2.7.x to 2.9.2 for M45) added a
default-on abort on > 10,000,000 byte documents which is a bit
arbitrary and is causing problems for users. The _HUGE option
makes it not do this. My assumption is that this is reasonable
behaviour security-wise as: 1) we were doing it this way until
recently; and 2) it shouldn't be any worse in the renderer than
just doing `for (;;) x+='y';`
(There's a big trivial xml file in
LayoutTests/http/tests/xmlhttprequest/resources/big.xml
that goes with the test, but git cl upload won't upload it. I
guess I'll dcommit just that file first?)
R=dominicc@chromium.org
BUG=528078, 463958
TEST=LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-big-document.html
Committed: https://crrev.com/c73ad41c39b80ca368902a7f58fc9763b8661728
git-svn-id: svn://svn.chromium.org/blink/trunk@201992 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Patch Set 1 #Patch Set 2 : fix location #Patch Set 3 : . #Patch Set 4 : rebase #
Created: 5 years, 3 months ago
(Patch set is too large to download)
Messages
Total messages: 16 (6 generated)
|