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

Skip to content
Commit b1ae1e40 authored by Girish's avatar Girish Committed by Girish Shetty
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)
parent cbbb6a56
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