SimpleDecodingSource:Prevent OOB write in heap mem
doRead() doesn't handle situations when received byte do not fit into input buffer in case of vorbis audio compression. It results in OOB write in heap memory right after the allocated input buffer. Added code to copy kKeyValidSamples only if there was enough space. Otherwise, print a warning log. Bug: 194105348 Test: post-submit media cts tests Change-Id: I2b27580deff9ad937b68703a1e7c3ff2a6dccc60 (cherry picked from commit a625b40e)
Loading
-
mentioned in commit b240660c
-
mentioned in commit 247199f3
-
mentioned in commit e3f218d6
-
mentioned in commit 82ddf01e
-
mentioned in commit 2708f51a
-
mentioned in commit aa765964
-
mentioned in commit efc5d167
-
mentioned in commit ec6411df
-
mentioned in commit 3cef4f2f
-
mentioned in commit 29d56a77
-
mentioned in commit 069bc415
Please register or sign in to comment