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

Commit 9850bfbc 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...

Fix Out of Bounds read in TextDescriptions.cpp am: b63d4e78 am: a18815ba am: d8dad277 am: 4803c5c3 am: e7caf5cd

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/18993507



Change-Id: I4480a8caf35e36320c1dd467544e7acba37c5fd6
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents ed08fbe1 e7caf5cd
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;