aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFraunhofer IIS FDK <audio-fdk@iis.fraunhofer.de>2023-06-05 17:53:00 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-06-05 17:53:00 +0000
commitf1b90b8dffb905a724a11aa55bb8baa10fae0954 (patch)
tree36a64cd0b74b668f4e50bf7c4093a0be423cfe08
parentf0f384d36376a044b1b9cc3ee235614c56df9916 (diff)
parentcf141c714f177a526aff9e8a48efc3b2953b9a00 (diff)
downloadfdk-aac-f1b90b8dffb905a724a11aa55bb8baa10fae0954.tar.gz
fdk-aac-f1b90b8dffb905a724a11aa55bb8baa10fae0954.tar.bz2
fdk-aac-f1b90b8dffb905a724a11aa55bb8baa10fae0954.zip
Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: cf141c714f
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497644 Change-Id: Ieb9f45ff464225c80a170c296dc17058e6f56e89 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--libSBRdec/src/lpp_tran.h4
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