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

Commit e1a58dfc authored by heychen's avatar heychen
Browse files

CtsSecurityTestCases.android.security.cts.StagefrightTest#testStagefright_cve_2016_2507

FrameDecoder not check mediaBuffer nullptr
add nullptr check

Bug: 365002357
Change-Id: I2e8f351892457028ca6ae4e5035ff634cd560fe6
parent a73556cb
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -654,7 +654,9 @@ status_t FrameDecoder::extractInternalUsingBlockModel() {
    mReadOptions.clearSeekTo();
    if (err != OK) {
        ALOGW("Input Error: err=%d", err);
        if (mediaBuffer) {
            mediaBuffer->release();
        }
        return err;
    }