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

Commit 701e0536 authored by Nick Kralevich's avatar Nick Kralevich Committed by Gerrit Code Review
Browse files

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

parents 70fb7a5d 2b50b7aa
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;
    }