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)
Loading
-
mentioned in commit 55383b7c
-
mentioned in commit a648552f
-
mentioned in commit d56cb24c
-
mentioned in commit 31170156
-
mentioned in commit ede04005
-
mentioned in commit 704f4728
-
mentioned in commit 5910d09c
-
mentioned in commit f00498e7
-
mentioned in commit 349c2e28
-
mentioned in commit e4317e58
-
mentioned in commit 653fa608
Please register or sign in to comment