Compare commits

...
Author SHA1 Message Date
Stanislav Malyshev 14847c56c5 update NEWS 2015-01-20 12:06:02 -08:00
Stanislav Malyshev 9a13af0099 add CVE 2015-01-20 11:54:03 -08:00
Stanislav Malyshev 8b0e6e6868 5.4.37 2015-01-20 11:52:50 -08:00
Stanislav Malyshev 49af59b3a0 add protection against nulls 2015-01-20 11:49:23 -08:00
4 changed files with 12 additions and 6 deletions

No files matched your search

+4 -3
View File
@@ -1,15 +1,16 @@
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 20?? PHP 5.4.37
22 Jan 2015 PHP 5.4.37
- Core:
. Fixed bug #68710 (Use After Free Vulnerability in PHP's unserialize()).
(CVE-2015-0231) (Stefan Esser)
- CGI:
. Fixed bug #68618 (out of bounds read crashes php-cgi). (Stas)
. Fixed bug #68618 (out of bounds read crashes php-cgi). (CVE-2014-9427)
(Stas)
- EXIF:
. Fix bug #68799: Free called on unitialized pointer. (CVE-2015-0232) (Stas)
. Fixed bug #68799: Free called on unitialized pointer. (CVE-2015-0232) (Stas)
- Fileinfo:
. Removed readelf.c and related code from libmagic sources
+1 -1
View File
@@ -120,7 +120,7 @@ int zend_sprintf(char *buffer, const char *format, ...);
PHP_MAJOR_VERSION=5
PHP_MINOR_VERSION=4
PHP_RELEASE_VERSION=37
PHP_EXTRA_VERSION="-dev"
PHP_EXTRA_VERSION=""
PHP_VERSION="$PHP_MAJOR_VERSION.$PHP_MINOR_VERSION.$PHP_RELEASE_VERSION$PHP_EXTRA_VERSION"
PHP_VERSION_ID=`expr [$]PHP_MAJOR_VERSION \* 10000 + [$]PHP_MINOR_VERSION \* 100 + [$]PHP_RELEASE_VERSION`
+2 -2
View File
@@ -4,6 +4,6 @@
#define PHP_MINOR_VERSION 4
#define PHP_RELEASE_VERSION 37
#define PHP_EXTRA_VERSION "-dev"
#define PHP_VERSION "5.4.37-dev"
#define PHP_EXTRA_VERSION ""
#define PHP_VERSION "5.4.37"
#define PHP_VERSION_ID 50437
+5
View File
@@ -796,6 +796,11 @@ PHPAPI int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap
{
smart_str xbuf = {0};
/* since there are places where (v)spprintf called without checking for null,
a bit of defensive coding here */
if(!pbuf) {
return 0;
}
xbuf_format_converter(&xbuf, format, ap);
if (max_len && xbuf.len > max_len) {