diff options
author | Shivaprasad Hongal <shongal@codeaurora.org> | 2015-11-04 13:20:52 -0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-12-07 18:45:16 -0800 |
commit | c3e8884de570d95be251f7e04c60fb55428c7260 (patch) | |
tree | 27bf74ad66672c3e13e4e0124ec09e959e98834f /media/libmedia/IMediaHTTPService.cpp | |
parent | 06752d20a8a75a8a638aa9be122d8e120ce3e252 (diff) | |
download | frameworks_av-c3e8884de570d95be251f7e04c60fb55428c7260.zip frameworks_av-c3e8884de570d95be251f7e04c60fb55428c7260.tar.gz frameworks_av-c3e8884de570d95be251f7e04c60fb55428c7260.tar.bz2 |
libmedia: add NULL check before accessing source and destination buffers.
IMemory can return a NULL pointer or the destination buffer for readAt can
be NULL. Check for NULL and report error.
Change-Id: I9608de8ee3817a681c5c51ec7fdbd1bf207d9463
CRs-Fixed: 931744
Diffstat (limited to 'media/libmedia/IMediaHTTPService.cpp')
0 files changed, 0 insertions, 0 deletions