Fixed build

This commit is contained in:
Xinchen Hui 2016-04-29 11:13:15 +08:00
parent 9e57360c83
commit a5718539b1

View File

@ -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) {