mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-11 19:20:50 +00:00
Compare commits
13
Commits
php-7.0.22
...
PHP-7.0.14
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
94933677a3 | ||
|
|
6544955bbc | ||
|
|
7f22627870 | ||
|
|
7eb7831295 | ||
|
|
a5c493c339 | ||
|
|
254d5017c6 | ||
|
|
90d0bda0be | ||
|
|
52f1cabf34 | ||
|
|
77e313848a | ||
|
|
a92718868d | ||
|
|
a64fff6d4e | ||
|
|
3ded4b718d | ||
|
|
83efec88f7 |
No files matched your search
@@ -1,6 +1,6 @@
|
||||
PHP NEWS
|
||||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||
?? ??? 2016 PHP 7.0.14
|
||||
08 Dec 2016 PHP 7.0.14
|
||||
|
||||
- Core:
|
||||
. Fixed memory leak(null coalescing operator with Spl hash). (Tyson Andre)
|
||||
@@ -41,6 +41,9 @@ PHP NEWS
|
||||
. Fixed bug #73087, #61183, #71494 (Memory corruption in bindParam).
|
||||
(Dorin Marcoci)
|
||||
|
||||
- Phar:
|
||||
. Fixed bug #73580 (Phar::isValidPharFilename illegal memory access). (Stas)
|
||||
|
||||
- Postgres:
|
||||
. Fixed bug #73498 (Incorrect SQL generated for pg_copy_to()). (Craig Duncan)
|
||||
|
||||
@@ -56,9 +59,13 @@ PHP NEWS
|
||||
. Fixed bug #73530 (Unsetting result set may reset other result set). (cmb)
|
||||
|
||||
- Standard:
|
||||
. Fixed bug #73297 (HTTP stream wrapper should ignore HTTP 100 Continue).
|
||||
(rowan dot collins at gmail dot com)
|
||||
. Fixed bug #73297 (HTTP stream wrapper should ignore HTTP 100 Continue).
|
||||
(rowan dot collins at gmail dot com)
|
||||
. Fixed bug #73645 (version_compare illegal write access). (Stas)
|
||||
|
||||
- Wddx:
|
||||
. Fixed bug #73631 (Invalid read when wddx decodes empty boolean element).
|
||||
(Stas)
|
||||
- XML:
|
||||
. Fixed bug #72135 (malformed XML causes fault) (edgarsandi)
|
||||
|
||||
|
||||
+1
-1
@@ -120,7 +120,7 @@ int zend_sprintf(char *buffer, const char *format, ...);
|
||||
PHP_MAJOR_VERSION=7
|
||||
PHP_MINOR_VERSION=0
|
||||
PHP_RELEASE_VERSION=14
|
||||
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`
|
||||
|
||||
|
||||
@@ -1066,6 +1066,10 @@ PHP_METHOD(Phar, isValidPharFilename)
|
||||
return;
|
||||
}
|
||||
|
||||
if (ZEND_SIZE_T_INT_OVFL(fname_len)) {
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
is_executable = executable;
|
||||
RETVAL_BOOL(phar_detect_phar_fname_ext(fname, fname_len, &ext_str, &ext_len, is_executable, 2, 1) == SUCCESS);
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
| obtain it through the world-wide-web, please send a note to |
|
||||
| license@php.net so we can mail you a copy immediately. |
|
||||
+----------------------------------------------------------------------+
|
||||
| Author: Stig Sæther Bakken <ssb@php.net> |
|
||||
| Author: Stig Sæther Bakken <ssb@php.net> |
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
PHPAPI char *
|
||||
php_canonicalize_version(const char *version)
|
||||
{
|
||||
int len = strlen(version);
|
||||
size_t len = strlen(version);
|
||||
char *buf = safe_emalloc(len, 2, 1), *q, lp, lq;
|
||||
const char *p;
|
||||
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
--TEST--
|
||||
Bug #73631 (Memory leak due to invalid wddx stack processing)
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("wddx")) print "skip"; ?>
|
||||
--FILE--
|
||||
<?php
|
||||
$xml = <<<EOF
|
||||
<?xml version="1.0" ?>
|
||||
<wddxPacket version="1.0">
|
||||
<number>1234</number>
|
||||
<binary><boolean/></binary>
|
||||
</wddxPacket>
|
||||
EOF;
|
||||
$wddx = wddx_deserialize($xml);
|
||||
var_dump($wddx);
|
||||
?>
|
||||
--EXPECTF--
|
||||
int(1234)
|
||||
+12
-2
@@ -772,6 +772,11 @@ static void php_wddx_push_element(void *user_data, const XML_Char *name, const X
|
||||
php_wddx_process_data(user_data, atts[i+1], strlen((char *)atts[i+1]));
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
ent.type = ST_BOOLEAN;
|
||||
SET_STACK_VARNAME;
|
||||
ZVAL_FALSE(&ent.data);
|
||||
wddx_stack_push((wddx_stack *)stack, &ent, sizeof(st_entry));
|
||||
}
|
||||
} else if (!strcmp((char *)name, EL_NULL)) {
|
||||
ent.type = ST_NULL;
|
||||
@@ -902,8 +907,13 @@ static void php_wddx_pop_element(void *user_data, const XML_Char *name)
|
||||
}
|
||||
|
||||
if (!strcmp((char *)name, EL_BINARY)) {
|
||||
zend_string *new_str = php_base64_decode(
|
||||
(unsigned char *)Z_STRVAL(ent1->data), Z_STRLEN(ent1->data));
|
||||
zend_string *new_str = NULL;
|
||||
|
||||
if (ZSTR_EMPTY_ALLOC() != Z_STR(ent1->data)) {
|
||||
new_str = php_base64_decode(
|
||||
(unsigned char *)Z_STRVAL(ent1->data), Z_STRLEN(ent1->data));
|
||||
}
|
||||
|
||||
zval_ptr_dtor(&ent1->data);
|
||||
if (new_str) {
|
||||
ZVAL_STR(&ent1->data, new_str);
|
||||
|
||||
+2
-2
@@ -3,6 +3,6 @@
|
||||
#define PHP_MAJOR_VERSION 7
|
||||
#define PHP_MINOR_VERSION 0
|
||||
#define PHP_RELEASE_VERSION 14
|
||||
#define PHP_EXTRA_VERSION "-dev"
|
||||
#define PHP_VERSION "7.0.14-dev"
|
||||
#define PHP_EXTRA_VERSION ""
|
||||
#define PHP_VERSION "7.0.14"
|
||||
#define PHP_VERSION_ID 70014
|
||||
@@ -3,13 +3,13 @@ cclient-2007f
|
||||
freetype-2.6.2
|
||||
icu-57.1
|
||||
jpeglib-9b
|
||||
libcurl-7.50.3
|
||||
libcurl-7.51.0
|
||||
libiconv-1.14
|
||||
libmcrypt-2.5.8
|
||||
libmpir-2.7.2
|
||||
libpng-1.6.21
|
||||
libpq-9.5.3
|
||||
libssh2-1.7.0
|
||||
libssh2-1.8.0
|
||||
libtidy-20090406
|
||||
libxslt-1.1.29
|
||||
libxml-2.9.4
|
||||
|
||||
Reference in new issue
Block a user