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

Commit 7f9913d4 authored by Nick Kralevich's avatar Nick Kralevich Committed by Android Git Automerger
Browse files

am 701e0536: Merge "MPEG4Extractor.cpp: Add check for size == SIZE_MAX"

* commit '701e0536':
  MPEG4Extractor.cpp: Add check for size == SIZE_MAX
parents 0bb71dd1 701e0536
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2289,7 +2289,7 @@ status_t MPEG4Extractor::parseTrackHeader(
}

status_t MPEG4Extractor::parseITunesMetaData(off64_t offset, size_t size) {
    if (size < 4) {
    if (size < 4 || size == SIZE_MAX) {
        return ERROR_MALFORMED;
    }