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

Skip to content
Commit 653fa608 authored by Girish's avatar Girish Committed by Android Build Coastguard Worker
Browse files

libstagefright: fix heap use after free issue

Refactor NuMediaExtractor::setDataSource to move
the common code under a function to reduce code
duplication.
And also, fixing a heap based string dereference
after free in NuMediaExtractor::getName

Bug: 245242273
Test: atest android.mediav2.cts.ExtractorTest
      atest MediaSampleReaderNDKTests:MediaSampleReaderNDKTests.MediaSampleReaderNDKTests
Change-Id: Ie6c663d2df85bee5a2d28a9b709aadf4b6cdd47f
(cherry picked from commit 9a3fb4bf)
(cherry picked from commit 2bddcbdd)
Merged-In: Ie6c663d2df85bee5a2d28a9b709aadf4b6cdd47f
parent 81ba8396
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment