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

Commit 2ffe8ab8 authored by Marco Nelissen's avatar Marco Nelissen Committed by Android (Google) Code Review
Browse files

Merge "Fix overflow/dos in 3gg text description parsing" into qt-dev

parents 9c5c5a0d 0dcd24dd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -145,7 +145,7 @@ status_t TextDescriptions2::extract3GPPGlobalDescriptions(
        tmpData += 8;
        size_t remaining = size - 8;

        if (size < chunkSize) {
        if (chunkSize <= 8 || size < chunkSize) {
            return OK;
        }
        switch(chunkType) {