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: I84543f1357f7dde3ff81f912c9ee76a9560410cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Fraunhofer IIS FDK 2023-06-05 17:52:48 +00:00 committed by Automerger Merge Worker
commit d721fc5223
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
Software License for The Fraunhofer FDK AAC Codec Library for Android 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. Forschung e.V. All rights reserved.
1. INTRODUCTION 1. INTRODUCTION
@ -207,7 +207,7 @@ typedef struct {
inverse filtering levels */ inverse filtering levels */
PATCH_PARAM PATCH_PARAM
patchParam[MAX_NUM_PATCHES]; /*!< new parameter set for patching */ patchParam[MAX_NUM_PATCHES + 1]; /*!< new parameter set for patching */
WHITENING_FACTORS WHITENING_FACTORS
whFactors; /*!< the pole moving factors for certain whFactors; /*!< the pole moving factors for certain
whitening levels as indicated in the bitstream whitening levels as indicated in the bitstream