svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/ext/standard/tests/strings/bug54055.phpt branches/PHP_5_3/main/snprintf.c
branches/PHP_5_3/main/snprintf.h branches/PHP_5_3/main/spprintf.c trunk/ext/standard/tests/strings/bug54055.phpt trunk/main/snprintf.c
trunk/main/snprintf.h trunk/main/spprintf.c

From: Date: Mon, 21 Feb 2011 06:53:24 +0000
Subject: svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/ext/standard/tests/strings/bug54055.phpt branches/PHP_5_3/main/snprintf.c
branches/PHP_5_3/main/snprintf.h branches/PHP_5_3/main/spprintf.c trunk/ext/standard/tests/strings/bug54055.phpt trunk/main/snprintf.c
trunk/main/snprintf.h trunk/main/spprintf.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-64580@lists.php.net to get a copy of this message
cataphract Mon, 21 Feb 2011 06:53:24 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=308525 Log: - Fixed bug #54055 (buffer overrun with high values for precision ini setting). #This fix (for g/G/k/H modes) is done at a different level than that for the #modes e/E/f/F, at a bit higher level and therefore with less coverage. I #chose this because it addresses the problem where it is -- the calling function #that passes a buffer too small to php_gcvt. Bug: http://bugs.php.net/54055 (Open) PHP crashes when executing strval when `precision' setting is very hig Changed paths: U php/php-src/branches/PHP_5_3/NEWS A php/php-src/branches/PHP_5_3/ext/standard/tests/strings/bug54055.phpt U php/php-src/branches/PHP_5_3/main/snprintf.c U php/php-src/branches/PHP_5_3/main/snprintf.h U php/php-src/branches/PHP_5_3/main/spprintf.c A php/php-src/trunk/ext/standard/tests/strings/bug54055.phpt U php/php-src/trunk/main/snprintf.c U php/php-src/trunk/main/snprintf.h U php/php-src/trunk/main/spprintf.c

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