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

Commit efeff077 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role)
Browse files

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

Change-Id: Ifd46e58c021eb0478d07e645b9065fc68f0662b5
parents ffd550a6 851e22d1
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) {