| commit | 450e9b164ff11abfe6a739bdc355463fd3588469 | [log] [tgz] |
|---|---|---|
| author | Wonsik Kim <wonsik@google.com> | Thu Mar 01 11:08:57 2018 -0800 |
| committer | Wonsik Kim <wonsik@google.com> | Tue Mar 06 16:40:07 2018 -0800 |
| tree | 05488de11ee9c93a665b2f01b9f00285388ddbbf | |
| parent | 9b887324b8c3f86f012915a6f637081b158a221b [diff] |
codec2: fix C2Buffer - _C2MappingBlock2DImpl::Mapped hold shared_ptr to _C2Block2DImpl instead of raw pointer to prevent use-after-free. Bug: 74073134 Test: adb shell setprop debug.stagefright.ccodec yes Test: adb shell setprop debug.stagefright.omx_default_rank 1000 Test: adb shell killall mediaserver Test: atest android.media.cts.MediaCodecTest Change-Id: Icf3bb6aa781da9916c891a1325480051f6ffdffe