[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-datatype-cvs
Subject: [Datatype-cvs] mp4/fileformat qtatmmgs.cpp, 1.33.2.41, 1.33.2.41.14.1
From: yuanzhang () helixcommunity ! org
Date: 2013-03-15 7:52:02
[Download RAW message or body]
Update of /cvsroot/datatype/mp4/fileformat
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv1135
Modified Files:
Tag: callisto
qtatmmgs.cpp
Log Message:
Help Ray to commit code change to fix security issue
Index: qtatmmgs.cpp
===================================================================
RCS file: /cvsroot/datatype/mp4/fileformat/qtatmmgs.cpp,v
retrieving revision 1.33.2.41
retrieving revision 1.33.2.41.14.1
diff -u -d -r1.33.2.41 -r1.33.2.41.14.1
--- qtatmmgs.cpp 11 May 2012 00:47:57 -0000 1.33.2.41
+++ qtatmmgs.cpp 15 Mar 2013 07:51:54 -0000 1.33.2.41.14.1
@@ -2491,9 +2491,11 @@
if (m_pOpaqueData)
{
- m_ulOpaqueDataSize = ulSampleDescEntrySize -
- (m_pOpaqueData - ((UINT8*) pSampleDescEntry));
-
+ m_ulOpaqueDataSize = ulSampleDescEntrySize - (m_pOpaqueData - \
((UINT8*) pSampleDescEntry)); + if(m_ulOpaqueDataSize > \
pAtom->GetSize()) + {
+ m_ulOpaqueDataSize = 0;
+ }
#ifndef HELIX_FEATURE_3GPPCLIENT_ONLY
if ((pSampleDescManager->GetDataFormat() == QT_mp4v) ||
(pSampleDescManager->GetDataFormat() == QT_mp4a))
_______________________________________________
Datatype-cvs mailing list
Datatype-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic