summaryrefslogtreecommitdiff
path: root/Zend/zend_exceptions.c
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2014-05-11 15:15:27 +0200
committerBob Weinand <bobwei9@hotmail.com>2014-05-11 15:15:27 +0200
commit5bc4eb714aee31268538fcd170e2425ff699ff53 (patch)
tree4e56fa2b64891b416bc64631df6ba0463f0d7922 /Zend/zend_exceptions.c
parentb99862e7ae4336c5bdb20514f845e63c6c1b43f6 (diff)
parent62b2eb666d8d418e1c4672bc81d00111f18049bd (diff)
downloadphp-git-5bc4eb714aee31268538fcd170e2425ff699ff53.tar.gz
Merge branch 'PHP-5.4' into PHP-5.5
Diffstat (limited to 'Zend/zend_exceptions.c')
-rw-r--r--Zend/zend_exceptions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_exceptions.c b/Zend/zend_exceptions.c
index 9b7d3689c6..e4570269e3 100644
--- a/Zend/zend_exceptions.c
+++ b/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);
/* }}} */