提交 ff492acb 编写于 作者: H Huo Linhe

[TD-4872]<fix>: fix tasodemo buffer overflow with -O3

上级 ebd2fdc1
...@@ -5103,7 +5103,7 @@ static int32_t generateStbDataTail( ...@@ -5103,7 +5103,7 @@ static int32_t generateStbDataTail(
} else { } else {
retLen = getRowDataFromSample( retLen = getRowDataFromSample(
data, data,
remainderBufLen, remainderBufLen < MAX_DATA_SIZE ? remainderBufLen : MAX_DATA_SIZE,
startTime + superTblInfo->timeStampStep * k, startTime + superTblInfo->timeStampStep * k,
superTblInfo, superTblInfo,
pSamplePos); pSamplePos);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册