diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2018-09-10 15:50:19 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2018-10-11 14:49:35 -0700 |
commit | 56ef80d7fec1fd9e201262348a96b8660558105a (patch) | |
tree | 5b96b28e67221c61381752d17ec03ca9c6792093 /Android.bp | |
parent | fed4ae111566dc68e178d625f2ef14b46f779dcb (diff) | |
download | fdk-aac-56ef80d7fec1fd9e201262348a96b8660558105a.tar.gz fdk-aac-56ef80d7fec1fd9e201262348a96b8660558105a.tar.bz2 fdk-aac-56ef80d7fec1fd9e201262348a96b8660558105a.zip |
Prevent out of bounds accesses in lppTransposer()
Check validity of pSettings->noOfPatches to prevent out of bounds
access in lppTransposer(), which can also cause memSize to be
negative.
Bug: 112160868
Test: see poc in bug
Change-Id: I789030b116da7f8ea261001b43ef6c677dd58a3d
Merged-In: I6a2161865d9cb9b51dc37c09d6e3a4a8e5d11f86
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -18,6 +18,9 @@ cc_library_static { "-Wno-constant-logical-operand", "-Wno-self-assign", ], + shared_libs: [ + "liblog", + ], export_include_dirs: [ "libAACdec/include", "libAACenc/include", |