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

List:       helix-datatype-cvs
Subject:    [Datatype-cvs] xps/fileformat CXPSClientStream.cpp, 1.1.1.1.2.3,
From:       gvalverde () helixcommunity ! org
Date:       2008-08-25 18:05:22
Message-ID: 200808251809.m7PI9YTR030897 () mailer ! progressive-comp ! com
[Download RAW message or body]

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

Modified Files:
      Tag: hxclient_2_1_0_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.3
retrieving revision 1.1.1.1.2.4
diff -u -d -r1.1.1.1.2.3 -r1.1.1.1.2.4
--- CXPSClientStream.cpp	6 Aug 2008 17:01:14 -0000	1.1.1.1.2.3
+++ CXPSClientStream.cpp	25 Aug 2008 18:05:19 -0000	1.1.1.1.2.4
@@ -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