diff options
author | Fraunhofer IIS FDK <audio-fdk@iis.fraunhofer.de> | 2021-03-16 14:47:58 +0100 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2021-04-29 13:08:13 -0700 |
commit | 14db264786fdd4fa837662c07f6a63458ce3de48 (patch) | |
tree | f9ff7681bf46b4f6d10096384e440c9b3dd64994 /libMpegTPDec/src/tpdec_latm.h | |
parent | 27c3a2bd1cc08b0096813474410c667468077d6e (diff) | |
download | fdk-aac-14db264786fdd4fa837662c07f6a63458ce3de48.tar.gz fdk-aac-14db264786fdd4fa837662c07f6a63458ce3de48.tar.bz2 fdk-aac-14db264786fdd4fa837662c07f6a63458ce3de48.zip |
Avoid integer overflows in CLatmDemux_ReadAuChunkLengthInfo() and FDK_get32() to prevent endless loop.
Bug: 186777497
Test: atest android.media.cts.DecoderTestAacFormat android.media.cts.DecoderTestXheAac android.media.cts.DecoderTestAacDrc
Change-Id: Icaedd341f4602882f72ff5e7be71d99ce08f3bec
Diffstat (limited to 'libMpegTPDec/src/tpdec_latm.h')
-rw-r--r-- | libMpegTPDec/src/tpdec_latm.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libMpegTPDec/src/tpdec_latm.h b/libMpegTPDec/src/tpdec_latm.h index 6af553d..8b8c971 100644 --- a/libMpegTPDec/src/tpdec_latm.h +++ b/libMpegTPDec/src/tpdec_latm.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 - 2021 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. All rights reserved. 1. INTRODUCTION @@ -151,8 +151,6 @@ typedef struct { AudioPreRoll */ } CLatmDemux; -int CLatmDemux_ReadAuChunkLengthInfo(HANDLE_FDK_BITSTREAM bs); - TRANSPORTDEC_ERROR CLatmDemux_Read(HANDLE_FDK_BITSTREAM bs, CLatmDemux *pLatmDemux, TRANSPORT_TYPE tt, CSTpCallBacks *pTpDecCallbacks, |