commit | ff8b02346adfc4df113d9223c326aff81e78b54d | [log] [tgz] |
---|---|---|
author | Jinguang Dong <dongjinguang@huawei.com> | Tue Dec 20 14:33:39 2016 +0800 |
committer | Robert Shih <robertshih@google.com> | Thu Dec 22 10:10:06 2016 +0000 |
tree | 3eebc19aeda353cd596e2dc909d934eacba97db3 | |
parent | 24cd6995c704c5919887fd9ccbd06479b65346d6 [diff] |
HTTPLIVE: do not store hash of malformed M3U8 file From code analysis, we should make sure that M3UParser::initCheck returns OK then perform hash memcpy. This would prevent NuPlayer from overlooking a malformed M3U8 and crashing later on a NULL derefernce. Test: 1 Play http://117.34.15.47/7d.v.iask.com/player/ovs1_idx_chid_1054589_br_400_fn_4_pn_weitv_sig_md5.m3u8 2 mediaserver does not crash Bug: 33763371 Change-Id: I3d8f5450cdf45288110121973c679c8d58210d5c