Browse Source

Merge branch 'PHP-5.4' into PHP-5.5

PHP-5.5.13
Bob Weinand 12 years ago
parent
commit
5bc4eb714a
  1. 3
      NEWS
  2. 2
      Zend/zend_exceptions.c

3
NEWS

@ -12,6 +12,9 @@ PHP NEWS
. Fixed bug #65701 (copy() doesn't work when destination filename is created
by tempnam()). (Boro Sitnikovski)
. Fixed bug #67072 (Echoing unserialized "SplFileObject" crash). (Anatol)
. Fixed bug #67245 (usage of memcpy() with overlapping src and dst in
zend_exceptions.c) (backported fix from PHP 5.6; initially committed
to wrong branch). (Bob)
- Curl:
. Fixed bug #64247 (CURLOPT_INFILE doesn't allow reset). (Mike)

2
Zend/zend_exceptions.c

@ -363,7 +363,7 @@ ZEND_METHOD(error_exception, getSeverity)
#define TRACE_ARG_APPEND(vallen) \
*str = (char*)erealloc(*str, *len + 1 + vallen); \
memcpy((*str) + *len - l_added + 1 + vallen, (*str) + *len - l_added + 1, l_added);
memmove((*str) + *len - l_added + 1 + vallen, (*str) + *len - l_added + 1, l_added);
/* }}} */

Loading…
Cancel
Save