forked from mirrors/gecko-dev
Bug 1939583. r=aosmond a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D233969
This commit is contained in:
parent
7ac5f6d340
commit
adc035d41f
1 changed files with 1 additions and 0 deletions
|
|
@ -406,6 +406,7 @@ static bool Moz2DRenderCallback(const Range<const uint8_t> aBlob,
|
||||||
while (reader.pos < reader.len) {
|
while (reader.pos < reader.len) {
|
||||||
size_t end = reader.ReadSize();
|
size_t end = reader.ReadSize();
|
||||||
size_t extra_end = reader.ReadSize();
|
size_t extra_end = reader.ReadSize();
|
||||||
|
MOZ_RELEASE_ASSERT(offset <= end);
|
||||||
MOZ_RELEASE_ASSERT(extra_end >= end);
|
MOZ_RELEASE_ASSERT(extra_end >= end);
|
||||||
MOZ_RELEASE_ASSERT(extra_end < aBlob.length());
|
MOZ_RELEASE_ASSERT(extra_end < aBlob.length());
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue