mirror of
https://github.com/mstorsjo/fdk-aac.git
synced 2025-02-16 11:21:22 +01:00
libMpegTPDec: fix use of uninitialized value in OutOfBandConfig
Initialize tmpConf in transportDec_OutOfBandConfig Bug: 120426166 Test: see bug Change-Id: I72ac8bc96a7d386ffe32acd669c78c4a581d52dc
This commit is contained in:
parent
3e8d8ba558
commit
0309455012
@ -274,7 +274,7 @@ TRANSPORTDEC_ERROR transportDec_OutOfBandConfig(HANDLE_TRANSPORTDEC hTp,
|
||||
UCHAR configChanged = 0;
|
||||
UCHAR configMode = AC_CM_DET_CFG_CHANGE;
|
||||
|
||||
UCHAR tmpConf[1024];
|
||||
UCHAR tmpConf[1024] = {0};
|
||||
if (length > 1024) {
|
||||
return TRANSPORTDEC_UNSUPPORTED_FORMAT;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user