Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3bc3a5fd authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix potential integer overflow in MPEG4Extractor"

parents fcc346f2 7cf29147
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5142,7 +5142,7 @@ status_t MPEG4Source::parseTrackFragmentRun(off64_t offset, off64_t size) {
        sampleCtsOffset = 0;
    }

    if (size < (off64_t)(sampleCount * bytesPerSample)) {
    if (size < (off64_t)sampleCount * bytesPerSample) {
        return -EINVAL;
    }