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

Commit d8dad277 authored by Iván Budnik's avatar Iván Budnik Committed by Automerger Merge Worker
Browse files

Fix Out of Bounds read in TextDescriptions.cpp am: b63d4e78 am: a18815ba

parents b2c01cbb a18815ba
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -466,6 +466,10 @@ status_t TextDescriptions::extract3GPPGlobalDescriptions(

                if (subChunkType == FOURCC('f', 't', 'a', 'b'))
                {
                    if(subChunkSize < 8) {
                        return OK;
                    }

                    tmpData += 8;
                    size_t subChunkRemaining = subChunkSize - 8;