svn: /php/php-src/ branches/PHP_5_3/ext/mysqlnd/mysqlnd_net.c branches/PHP_5_3/ext/mysqlnd/mysqlnd_structs.h
branches/PHP_5_4/ext/mysqlnd/mysqlnd_net.c branches/PHP_5_4/ext/mysqlnd/mysqlnd_structs.h trunk/ext/mysqlnd/mysqlnd_net.c
trunk/ext/mysqlnd/mysqlnd_structs.h

From: Date: Wed, 31 Aug 2011 18:18:23 +0000
Subject: svn: /php/php-src/ branches/PHP_5_3/ext/mysqlnd/mysqlnd_net.c branches/PHP_5_3/ext/mysqlnd/mysqlnd_structs.h
branches/PHP_5_4/ext/mysqlnd/mysqlnd_net.c branches/PHP_5_4/ext/mysqlnd/mysqlnd_structs.h trunk/ext/mysqlnd/mysqlnd_net.c
trunk/ext/mysqlnd/mysqlnd_structs.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-66089@lists.php.net to get a copy of this message
andrey Wed, 31 Aug 2011 18:18:23 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=315911 Log: Fix valgrind error (sending of initialized bytes over the network). When the compression was successful the compressed data + uninitialized data at the end was sent to the server, because the length of the compressed payload wasn't correctly calculated (actually the length of the uncompressed payload as assumed). However, the uncompress() function has internally the length of the real payload and skips the binary trash at the end - thus no data damage occurs! Changed paths: U php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_net.c U php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_structs.h U php/php-src/branches/PHP_5_4/ext/mysqlnd/mysqlnd_net.c U php/php-src/branches/PHP_5_4/ext/mysqlnd/mysqlnd_structs.h U php/php-src/trunk/ext/mysqlnd/mysqlnd_net.c U php/php-src/trunk/ext/mysqlnd/mysqlnd_structs.h

Attachment: [text/x-diff] svn-diffs-315911.txt
« previous php.cvs (#66089) next »