[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-datatype-cvs
Subject:    [Datatype-cvs]
From:       gvalverde () helixcommunity ! org
Date:       2008-08-25 18:07:40
Message-ID: 200808251811.m7PIBXmU031095 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/datatype/xps/fileformat
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv324

Modified Files:
      Tag: hxclient_2_2_1_cayennes
	CXPSClientStream.cpp 
Log Message:
Project: SymbianMmf
ErrorId: EDVS-7HRTA5
Synopsis:  Crash observed while streaming class C content on Mobile TV 
app.
Fix: In function CXPSClientStream::ProcessXPSBuffer, the function call 
TLex8 Parser(), accepts string argument. Since the variable getting 
passed was not a string, as it was not terminated by a '\0', it was 
causing the crash. Making PtrZ() function call, instead of Ptr() appends
'\0' at the end.


Index: CXPSClientStream.cpp
===================================================================
RCS file: /cvsroot/datatype/xps/fileformat/CXPSClientStream.cpp,v
retrieving revision 1.1.1.1.2.2.2.1
retrieving revision 1.1.1.1.2.2.2.2
diff -u -d -r1.1.1.1.2.2.2.1 -r1.1.1.1.2.2.2.2
--- CXPSClientStream.cpp	6 Aug 2008 17:57:02 -0000	1.1.1.1.2.2.2.1
+++ CXPSClientStream.cpp	25 Aug 2008 18:07:37 -0000	1.1.1.1.2.2.2.2
@@ -309,7 +309,7 @@
     const TUint8* pHdrBuffer = m_pHdrBuf->Ptr();
     const TUint8* pPyldBuffer = m_pPyldBuf->Ptr();
 
-    TLex8 Parser(m_PktCntBuf.Ptr());
+    TLex8 Parser(m_PktCntBuf.PtrZ());
 
     TInt iNewPktCnt = 0;
 


_______________________________________________
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