Skip to content

Commit

Permalink
Increase patchParam array size by one and fix out-of-bounce write in …
Browse files Browse the repository at this point in the history
…resetLppTransposer().

Bug: 279766766
Test: see POC
Change-Id: I206973e0bb21140865efffd930e39f920f477359
Merged-In: I206973e0bb21140865efffd930e39f920f477359
(cherry picked from commit f682b8787eb312b9f8997dac4c2c18bb779cf0df)
  • Loading branch information
Fraunhofer IIS FDK authored and jmtrivi committed May 31, 2023
1 parent 8c56a3b commit 46c53ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libSBRdec/src/lpp_tran.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 46c53ba

Please sign in to comment.