Commit Graph

6 Commits

Author SHA1 Message Date
Peter van der Beken 5fdce3d25b Deal with XML parser interruptions caused by nested entities.
This resolves #370.
2018-07-25 01:04:09 +08:00
wolfbeast eb48276da5 Check int for overflow. 2018-07-24 23:31:05 +08:00
wolfbeast 7d1f5427ab Bug 1270381. 2018-07-24 23:17:21 +08:00
wolfbeast b8a7674123 Crash fix: prevent crash from excessive tag depths in data files.
Limit is taken from layout reflow depth (200 at this time) although never allowed to be > UInt8 (255).
200 levels of nesting should certainly suffice!

Signed-off-by: wolfbeast <mcwerewolf@gmail.com>
2018-07-24 23:11:18 +08:00
wolfbeast 5ee6187aad Prep tree for forward-porting Goanna, stage 1 2018-07-24 23:10:50 +08:00
Moonchild baf46a6bf1 Merge pull request #1 from mozilla/esr38: Esr38 upstream pull 2018-07-24 23:04:07 +08:00