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

Commit 6ea9da93 authored by Marco Nelissen's avatar Marco Nelissen Committed by android-build-merger
Browse files

[automerger] Fix overflow/dos in 3gg text description parsing am: 851e22d1...

[automerger] Fix overflow/dos in 3gg text description parsing am: 851e22d1 am: efeff077 am: 93e7dd1e am: 0d6a0e7d am: ec9f664d am: 806e1cbf
am: e44b6c78

Change-Id: I04fd7f315d04d70aa8a47a2cfde20ab16e8b9826
parents 155ffdba e44b6c78
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -383,7 +383,7 @@ status_t TextDescriptions::extract3GPPGlobalDescriptions(
        tmpData += 8;
        size_t remaining = size - 8;

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