diff options
author | Fraunhofer IIS FDK <audio-fdk@iis.fraunhofer.de> | 2023-06-05 17:52:15 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-06-05 17:52:15 +0000 |
commit | 51c9f2a5868a8ade85cdf5a5405d071d01a17d5b (patch) | |
tree | 9e50fcd3b0dbeba1818581db970ca5b4e6ea6999 | |
parent | dd9cdab225ad0d3691b454a72dd092ef72425639 (diff) | |
parent | 0c4954dd87acd1896976f626fd5c5650b87f1346 (diff) | |
download | fdk-aac-51c9f2a5868a8ade85cdf5a5405d071d01a17d5b.tar.gz fdk-aac-51c9f2a5868a8ade85cdf5a5405d071d01a17d5b.tar.bz2 fdk-aac-51c9f2a5868a8ade85cdf5a5405d071d01a17d5b.zip |
Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 0c4954dd87
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497047
Change-Id: I7154fff0e154bf81759817611176fa3663a84d31
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 |