forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf2743a7
committed
Revert "Add support for parsing of large XML data (>= 10MB)"
This reverts commit2197d06, following a discussion over a Coverityreport where issues like the "Billion laugh attack" could cause thebackend to waste CPU and memory even if a client applied checks on thesize of the data given in input, and libxml2 does not offer guaranteesthat input limits are respected under XML_PARSE_HUGE.Discussion:https://postgr.es/m/ZbHlgrPLtBZyr_QW@paquier.xyz1 parent376c216 commitf2743a7
3 files changed
+13
-33
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
381 | 381 |
| |
382 | 382 |
| |
383 | 383 |
| |
384 |
| - | |
| 384 | + | |
385 | 385 |
| |
386 | 386 |
| |
387 | 387 |
| |
| |||
626 | 626 |
| |
627 | 627 |
| |
628 | 628 |
| |
629 |
| - | |
| 629 | + | |
630 | 630 |
| |
631 | 631 |
| |
632 | 632 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
90 |
| - | |
| 90 | + | |
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
| |||
96 | 96 |
| |
97 | 97 |
| |
98 | 98 |
| |
99 |
| - | |
| 99 | + | |
100 | 100 |
| |
101 | 101 |
| |
102 | 102 |
| |
|
Lines changed: 9 additions & 29 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1688 | 1688 |
| |
1689 | 1689 |
| |
1690 | 1690 |
| |
1691 |
| - | |
1692 |
| - | |
| 1691 | + | |
| 1692 | + | |
1693 | 1693 |
| |
1694 | 1694 |
| |
1695 | 1695 |
| |
| |||
1795 | 1795 |
| |
1796 | 1796 |
| |
1797 | 1797 |
| |
1798 |
| - | |
| 1798 | + | |
1799 | 1799 |
| |
1800 | 1800 |
| |
1801 | 1801 |
| |
| |||
1828 | 1828 |
| |
1829 | 1829 |
| |
1830 | 1830 |
| |
1831 |
| - | |
1832 |
| - | |
1833 |
| - | |
1834 |
| - | |
1835 |
| - | |
1836 |
| - | |
1837 |
| - | |
1838 |
| - | |
1839 |
| - | |
1840 |
| - | |
1841 |
| - | |
1842 |
| - | |
1843 |
| - | |
1844 |
| - | |
1845 |
| - | |
1846 |
| - | |
1847 |
| - | |
1848 |
| - | |
1849 |
| - | |
1850 |
| - | |
1851 |
| - | |
1852 |
| - | |
1853 |
| - | |
1854 |
| - | |
| 1831 | + | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
1855 | 1835 |
| |
1856 | 1836 |
| |
1857 | 1837 |
| |
| |||
4364 | 4344 |
| |
4365 | 4345 |
| |
4366 | 4346 |
| |
4367 |
| - | |
| 4347 | + | |
4368 | 4348 |
| |
4369 | 4349 |
| |
4370 | 4350 |
| |
| |||
4695 | 4675 |
| |
4696 | 4676 |
| |
4697 | 4677 |
| |
4698 |
| - | |
| 4678 | + | |
4699 | 4679 |
| |
4700 | 4680 |
| |
4701 | 4681 |
| |
|
0 commit comments
Comments
(0)