diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2018-12-27 01:58:50 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-12-27 01:58:50 +0000 |
commit | a5cf260931f577091554fb1ad8cdee97994b55f9 (patch) | |
tree | 4c5b82a893f355d77a198904d0b26081a406be81 /libAACdec | |
parent | ecdec651da9fd21036f9192412e62361097dac5c (diff) | |
parent | 512898b2985f8da79a07fd137b0ff0b6c614bf37 (diff) | |
download | fdk-aac-a5cf260931f577091554fb1ad8cdee97994b55f9.tar.gz fdk-aac-a5cf260931f577091554fb1ad8cdee97994b55f9.tar.bz2 fdk-aac-a5cf260931f577091554fb1ad8cdee97994b55f9.zip |
Merge "Unsigned Integer Overflow in CAacDecoder_PreRollExtensionPayloadParse()"
Diffstat (limited to 'libAACdec')
-rw-r--r-- | libAACdec/src/aacdecoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libAACdec/src/aacdecoder.cpp b/libAACdec/src/aacdecoder.cpp index 24907ee..8993927 100644 --- a/libAACdec/src/aacdecoder.cpp +++ b/libAACdec/src/aacdecoder.cpp @@ -775,7 +775,7 @@ LINKSPEC_CPP AAC_DECODER_ERROR CAacDecoder_PreRollExtensionPayloadParse( /* For every AU get length and offset in the bitstream */ prerollAULength[i] = escapedValue(hBs, 16, 16, 0); if (prerollAULength[i] > 0) { - prerollAUOffset[i] = auStartAnchor - FDKgetValidBits(hBs); + prerollAUOffset[i] = auStartAnchor - (INT)FDKgetValidBits(hBs); independencyFlag = FDKreadBit(hBs); if (i == 0 && !independencyFlag) { *numPrerollAU = 0; |