ref: 033c6a0448227d6290b402435c7faec9d3063dd0
parent: 392f0bcc35236df89f37a19ee9add5db29d126e8
parent: d03454276b57610109959396573361d63872555d
author: huili2 <huili2@cisco.com>
date: Thu Nov 7 11:49:33 EST 2019
Merge pull request #3198 from xiaotianshi2/thread_commit_5_updated fix fuzz issues 18744, 18746 and 18747 by clearing info of buffered v…
--- a/codec/decoder/core/src/decoder.cpp
+++ b/codec/decoder/core/src/decoder.cpp
@@ -192,6 +192,8 @@
return ERR_INFO_OUT_OF_MEMORY;
}
+ ResetReorderingPictureBuffers (pCtx->pPictReoderingStatus, pCtx->pPictInfoList, false);
+
int32_t iPrevPicIdx = -1;
for (iPrevPicIdx = 0; iPrevPicIdx < kiOldSize; ++iPrevPicIdx) {
if (pCtx->pLastDecPicInfo->pPreviousDecodedPictureInDpb == pPicOldBuf->ppPic[iPrevPicIdx]) {