gecko-dev/modules
June Wilde 3dba77a779 Bug 1468556 - Protect against overlapping files in libmar; r=mhowell
Disallows files from referencing the same bytes in the content blocks of a MAR
file by storing a list of structs containing a file's byte offsets and lengths.
A list was chosen since the cap of 256 files wouldn't produce considerable
overhead when extracting/reading/searching/etc through the archive.

Removing the ability for a MAR file to reference the same content block
repeatedly seems like a better solution than what was suggested in the BLRG
report. (limiting the number of files or checking for overly large
decompressed files)

Allows us to prohibit this type of file bomb while only losing an attribute
of the MAR file format that wasn't being leveraged. The fix is applied in
mar_enum_items and mar_find_item so that the manifest the updater uses is
equally safeguarded as the mar host tool.

Differential Revision: https://phabricator.services.mozilla.com/D11706

--HG--
extra : moz-landing-system : lando
2018-11-26 17:25:24 +00:00
..
brotli Bug 1507525 - Update brotli to 1.0.7. r=jfkthame 2018-11-15 20:31:53 +00:00
fdlibm Bug 1438599 - Part 2: Import fdlibm from FreeBSD (revision b21ccf63f28a3a4692d8a31419e0a725a1b1a800). r=jwalden 2018-02-18 22:56:46 +09:00
freetype2 Bug 1458905 - Update to FreeType 2.9.1. r=jfkthame 2018-05-08 11:48:29 -04:00
libjar Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop 2018-10-24 19:11:17 +00:00
libmar Bug 1468556 - Protect against overlapping files in libmar; r=mhowell 2018-11-26 17:25:24 +00:00
libpref Bug 1493400 - Implement platform decoder for dav1d. r=jya 2018-11-27 14:18:58 +00:00
pdfium Bug 1399870 - make DEFFILE a Path instead of a string; r=gps 2018-09-18 15:50:19 -04:00
woff2 Bug 1440658 - Update woff2 library to latest upstream code (currently at 1bccf208bca986e53a647dfe4811322adb06ecf8, release 1.0.2). r=fredw 2018-02-23 14:32:23 +00:00
xz-embedded Bug 1477048 - part 1 - remove `'86' in CONFIG['OS_TEST']` stanzas from moz.build files; r=gps 2018-07-24 16:08:56 -04:00
zlib
moz.build