aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFraunhofer IIS FDK <audio-fdk@iis.fraunhofer.de>2023-05-30 16:39:32 +0200
committerJean-Michel Trivi <jmtrivi@google.com>2023-05-31 19:05:30 +0000
commitcf141c714f177a526aff9e8a48efc3b2953b9a00 (patch)
tree171f0bb02a5a419e237be316cae8fa72d45031ed
parent2c16a17358fb7c0d6365138e27a62913f9fa2c1a (diff)
downloadfdk-aac-cf141c714f177a526aff9e8a48efc3b2953b9a00.tar.gz
fdk-aac-cf141c714f177a526aff9e8a48efc3b2953b9a00.tar.bz2
fdk-aac-cf141c714f177a526aff9e8a48efc3b2953b9a00.zip
Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer().
Bug: 279766766 Test: see POC Change-Id: I206973e0bb21140865efffd930e39f920f477359 Merged-In: I206973e0bb21140865efffd930e39f920f477359 (cherry picked from commit f682b8787eb312b9f8997dac4c2c18bb779cf0df)
-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