From a5718539b16616bb23fb2897124733c0514454bd Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Fri, 29 Apr 2016 11:13:15 +0800 Subject: [PATCH] Fixed build --- ext/interbase/ibase_blobs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/interbase/ibase_blobs.c b/ext/interbase/ibase_blobs.c index 209904b18a..3cd649dbf9 100644 --- a/ext/interbase/ibase_blobs.c +++ b/ext/interbase/ibase_blobs.c @@ -99,7 +99,7 @@ int _php_ibase_blob_get(zval *return_value, ibase_blob *ib_blob, zend_ulong max_ zend_ulong cur_len; unsigned short seg_len; - bl_data = zend_string_alloc(1, max_len, 0, 0); + bl_data = zend_string_safe_alloc(1, max_len, 0, 0); for (cur_len = stat = 0; (stat == 0 || stat == isc_segment) && cur_len < max_len; cur_len += seg_len) { -- 2.40.0