gecko-dev/dom/media/webm
Bryce Seager van Dyk 2013fbe962 Bug 1530897 - Detect and avoid a couple of potential overflows when parsing WebMs. r=kinetik
This adds 2 checks to deal with overflow related issues when parsing webms.
- Detect uint64 overflows when calculating buffered ranges. This is unlikely,
  but appears like something that could conceptually happen given the data types
  involved. This isn't strictly needed to fix the bug, but figured I'd guard
  against it while I'm in the code.
- Detect issues from uint64 -> int64 conversion when calculating TimeUnits in
  the WebM parser. This is needed to fix the bug, as while we do some checks
  that start <= end, we were not guarding against this following TimeUnit
  conversion. My understanding is we should never encounter negative TimeUnits
  for the code in question, so the added check bails if any negative values are
  encountered.

Differential Revision: https://phabricator.services.mozilla.com/D105506
2021-02-17 21:09:49 +00:00
..
EbmlComposer.cpp Bug 1577198 - Don't write cluster sizes, and remove the timeslice-based keyframe interval from the vp8 encoder. r=bryce 2021-02-11 13:39:02 +00:00
EbmlComposer.h Bug 1577198 - Don't write cluster sizes, and remove the timeslice-based keyframe interval from the vp8 encoder. r=bryce 2021-02-11 13:39:02 +00:00
NesteggPacketHolder.h
WebMBufferedParser.cpp Bug 1530897 - Detect and avoid a couple of potential overflows when parsing WebMs. r=kinetik 2021-02-17 21:09:49 +00:00
WebMBufferedParser.h
WebMDecoder.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
WebMDecoder.h Bug 1671641 - Make `dom/media/webm` buildable outside of `unified-build` environment. r=sg 2020-10-29 08:54:14 +00:00
WebMDemuxer.cpp Bug 1530897 - Detect and avoid a couple of potential overflows when parsing WebMs. r=kinetik 2021-02-17 21:09:49 +00:00
WebMDemuxer.h
WebMWriter.cpp Bug 1691589 - Reduce reliance on GeckoProfiler.h when only labels (and maybe markers) are needed - r=necko-reviewers,geckoview-reviewers,sg,agi,florian 2021-02-16 04:44:19 +00:00
WebMWriter.h
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00