diff options
author | Xinchen Hui <laruence@gmail.com> | 2016-04-29 11:13:15 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2016-04-29 11:13:15 +0800 |
commit | a5718539b16616bb23fb2897124733c0514454bd (patch) | |
tree | 74f4c237fb24da16c844b98dc5f5ea7c20d60bf3 | |
parent | 9e57360c837b50999e7f8b8115b119aeb1f75825 (diff) | |
download | php-git-a5718539b16616bb23fb2897124733c0514454bd.tar.gz |
Fixed build
-rw-r--r-- | ext/interbase/ibase_blobs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |