diff options
author | Alex Dupre <ale@FreeBSD.org> | 2006-10-06 17:24:21 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2006-10-06 17:24:21 +0000 |
commit | 229fe00496467762f7a382ecb7c363a66d47fdff (patch) | |
tree | b8ad4b455fe9362fb8646ba6740d65accc3b7856 /lang/php53/files | |
parent | - Update devel/ode to 0.7 (diff) |
Enable suhosin patch by default.
Notes
Notes:
svn path=/head/; revision=174645
Diffstat (limited to 'lang/php53/files')
-rw-r--r-- | lang/php53/files/patch-Zend_zend_alloc.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lang/php53/files/patch-Zend_zend_alloc.c b/lang/php53/files/patch-Zend_zend_alloc.c deleted file mode 100644 index 161fbf32757e..000000000000 --- a/lang/php53/files/patch-Zend_zend_alloc.c +++ /dev/null @@ -1,21 +0,0 @@ ---- Zend/zend_alloc.c 2006/08/10 17:16:24 1.144.2.4 -+++ Zend/zend_alloc.c 2006/09/30 17:15:23 1.144.2.5 -@@ -328,15 +328,14 @@ - ZEND_API void *_ecalloc(size_t nmemb, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) - { - void *p; -- int final_size = size*nmemb; -- -+ - HANDLE_BLOCK_INTERRUPTIONS(); -- p = _emalloc(final_size ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC); -+ p = _safe_emalloc(nmemb, size, 0 ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC); - if (!p) { - HANDLE_UNBLOCK_INTERRUPTIONS(); - return (void *) p; - } -- memset(p, 0, final_size); -+ memset(p, 0, size * nmemb); - HANDLE_UNBLOCK_INTERRUPTIONS(); - return p; - } |