[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-filesystem-cvs
Subject: [Filesystem-cvs] http httpfsys.cpp,1.72.2.23,1.72.2.24
From: qluo () helixcommunity ! org
Date: 2007-11-01 22:30:59
Message-ID: 200711012231.lA1MVWNO019880 () mailer ! progressive-comp ! com
[Download RAW message or body]
Update of /cvsroot/filesystem/http
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv14146
Modified Files:
Tag: hxclient_1_5_0_cayenne
httpfsys.cpp
Log Message:
merge to branch: bug 203448 fix, CR: milko@real.com
Index: httpfsys.cpp
===================================================================
RCS file: /cvsroot/filesystem/http/httpfsys.cpp,v
retrieving revision 1.72.2.23
retrieving revision 1.72.2.24
diff -u -d -r1.72.2.23 -r1.72.2.24
--- httpfsys.cpp 16 Jul 2007 20:01:14 -0000 1.72.2.23
+++ httpfsys.cpp 1 Nov 2007 22:30:47 -0000 1.72.2.24
@@ -8821,10 +8821,11 @@
pChunkedEncoding->size = 0;
if( pChunkedEncoding->buf )
{
- char* pszTmp = new char[pChunkedEncoding->read];
+ char* pszTmp = new char[pChunkedEncoding->read + 1];
if( pszTmp )
{
strncpy(pszTmp, pChunkedEncoding->buf, pChunkedEncoding->read );
+ pszTmp[pChunkedEncoding->read] = 0;
pChunkedEncoding->size = (unsigned long)strtol(pszTmp, &errstr, 16);
if( errstr == pszTmp )
{
_______________________________________________
Filesystem-cvs mailing list
Filesystem-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/filesystem-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic