diff options
author | Fraunhofer IIS FDK <audio-fdk@iis.fraunhofer.de> | 2023-06-05 17:55:28 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-06-05 17:55:28 +0000 |
commit | d71bdb8fa44965966e022c3d7b99fd230e8b60f9 (patch) | |
tree | 171f0bb02a5a419e237be316cae8fa72d45031ed | |
parent | 7e1fb037c7c6b4f65261a981536fa1cc6b6a3879 (diff) | |
parent | 2f8c08a4e7b228a55e4c89f0931069de8eda2df6 (diff) | |
download | fdk-aac-d71bdb8fa44965966e022c3d7b99fd230e8b60f9.tar.gz fdk-aac-d71bdb8fa44965966e022c3d7b99fd230e8b60f9.tar.bz2 fdk-aac-d71bdb8fa44965966e022c3d7b99fd230e8b60f9.zip |
Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 2f8c08a4e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497643
Change-Id: I968eb9733f397cb354adf68b536436b44102eeb8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | libSBRdec/src/lpp_tran.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libSBRdec/src/lpp_tran.h b/libSBRdec/src/lpp_tran.h index 51b4395..21c4101 100644 --- a/libSBRdec/src/lpp_tran.h +++ b/libSBRdec/src/lpp_tran.h @@ -1,7 +1,7 @@ /* ----------------------------------------------------------------------------- Software License for The Fraunhofer FDK AAC Codec Library for Android -© Copyright 1995 - 2018 Fraunhofer-Gesellschaft zur Förderung der angewandten +© Copyright 1995 - 2023 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. All rights reserved. 1. INTRODUCTION @@ -207,7 +207,7 @@ typedef struct { inverse filtering levels */ PATCH_PARAM - patchParam[MAX_NUM_PATCHES]; /*!< new parameter set for patching */ + patchParam[MAX_NUM_PATCHES + 1]; /*!< new parameter set for patching */ WHITENING_FACTORS whFactors; /*!< the pole moving factors for certain whitening levels as indicated in the bitstream |