mirror of
https://github.com/mstorsjo/fdk-aac.git
synced 2025-03-27 04:40:03 +01:00
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
36 lines
862 B
Plaintext
36 lines
862 B
Plaintext
cc_library_static {
|
|
name: "libFraunhoferAAC",
|
|
srcs: [
|
|
"libAACdec/src/*.cpp",
|
|
"libAACenc/src/*.cpp",
|
|
"libPCMutils/src/*.cpp",
|
|
"libFDK/src/*.cpp",
|
|
"libSYS/src/*.cpp",
|
|
"libMpegTPDec/src/*.cpp",
|
|
"libMpegTPEnc/src/*.cpp",
|
|
"libSBRdec/src/*.cpp",
|
|
"libSBRenc/src/*.cpp",
|
|
],
|
|
cflags: [
|
|
"-Wno-sequence-point",
|
|
"-Wno-extra",
|
|
"-Wno-#warnings",
|
|
"-Wno-constant-logical-operand",
|
|
"-Wno-self-assign",
|
|
],
|
|
shared_libs: [
|
|
"liblog",
|
|
],
|
|
export_include_dirs: [
|
|
"libAACdec/include",
|
|
"libAACenc/include",
|
|
"libPCMutils/include",
|
|
"libFDK/include",
|
|
"libSYS/include",
|
|
"libMpegTPDec/include",
|
|
"libMpegTPEnc/include",
|
|
"libSBRdec/include",
|
|
"libSBRenc/include",
|
|
],
|
|
}
|