diff options
author | Antony Dovgal <tony2001@php.net> | 2006-12-25 20:53:50 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-12-25 20:53:50 +0000 |
commit | 3fd433c07d7b6a8a85395a4e9ed46a80df9f6623 (patch) | |
tree | e27f26e5d2b4aca01751f64ab5abd06ae17d7286 /ext/interbase | |
parent | 2e3cd64566586a0afb3dfe64cfbe1d91f219cadd (diff) | |
download | php-git-3fd433c07d7b6a8a85395a4e9ed46a80df9f6623.tar.gz |
MFH
Diffstat (limited to 'ext/interbase')
-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 9d5800f19d..9371ded054 100644 --- a/ext/interbase/ibase_blobs.c +++ b/ext/interbase/ibase_blobs.c @@ -105,7 +105,7 @@ int _php_ibase_blob_get(zval *return_value, ibase_blob *ib_blob, unsigned long m unsigned long cur_len; unsigned short seg_len; - bl_data = emalloc(max_len + 1); + bl_data = safe_emalloc(1, max_len, 1); for (cur_len = stat = 0; (stat == 0 || stat == isc_segment) && cur_len < max_len; cur_len += seg_len) { |