diff options
author | PacketVideo CM <engbuild@pv.com> | 2010-02-18 11:51:38 -0800 |
---|---|---|
committer | PacketVideo CM <engbuild@pv.com> | 2010-02-18 11:51:38 -0800 |
commit | 0618ea4e9990cb9c3cc15d9ab288a28b3dfc0a1f (patch) | |
tree | 844d5ad2a9913f0b876b7265a81ea4f7f4a33bb1 /nodes/pvmp4ffparsernode/src/pvmf_mp4ffparser_node.cpp | |
parent | a369523eac8b1ff3d5fdb8bad615667b34753046 (diff) | |
download | opencore-0618ea4e9990cb9c3cc15d9ab288a28b3dfc0a1f.tar.gz |
RIO-8612: Out of bounds access during CPM Register Content for MP4 and MP3 clips
Diffstat (limited to 'nodes/pvmp4ffparsernode/src/pvmf_mp4ffparser_node.cpp')
-rw-r--r-- | nodes/pvmp4ffparsernode/src/pvmf_mp4ffparser_node.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/nodes/pvmp4ffparsernode/src/pvmf_mp4ffparser_node.cpp b/nodes/pvmp4ffparsernode/src/pvmf_mp4ffparser_node.cpp index 262661732..cdf7d8fed 100644 --- a/nodes/pvmp4ffparsernode/src/pvmf_mp4ffparser_node.cpp +++ b/nodes/pvmp4ffparsernode/src/pvmf_mp4ffparser_node.cpp @@ -6425,19 +6425,19 @@ bool PVMFMP4FFParserNode::GetCPMContentAccessFactory() void PVMFMP4FFParserNode::CPMRegisterContent() { iCPMSequenceInProgress = true; - if (IsValidContextData(iPlaybackClipIndex) == true) + if (IsValidContextData(0) == true) { iCPMRegisterContentCmdId = iCPM->RegisterContent(iCPMSessionID, - GetClipURLAt(iPlaybackClipIndex + 1), - GetClipFormatTypeAt(iPlaybackClipIndex + 1), - (OsclAny*) & GetSourceContextDataAt(iPlaybackClipIndex + 1)); + GetClipURLAt(0), + GetClipFormatTypeAt(0), + (OsclAny*) & GetSourceContextDataAt(0)); } else { iCPMRegisterContentCmdId = iCPM->RegisterContent(iCPMSessionID, - GetClipURLAt(iPlaybackClipIndex + 1), - GetClipFormatTypeAt(iPlaybackClipIndex + 1), - (OsclAny*) & GetCPMSourceDataAt(iPlaybackClipIndex + 1)); + GetClipURLAt(0), + GetClipFormatTypeAt(0), + (OsclAny*) & GetCPMSourceDataAt(0)); } } |