summaryrefslogtreecommitdiff
path: root/ext/interbase
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-12-25 20:53:50 +0000
committerAntony Dovgal <tony2001@php.net>2006-12-25 20:53:50 +0000
commit3fd433c07d7b6a8a85395a4e9ed46a80df9f6623 (patch)
treee27f26e5d2b4aca01751f64ab5abd06ae17d7286 /ext/interbase
parent2e3cd64566586a0afb3dfe64cfbe1d91f219cadd (diff)
downloadphp-git-3fd433c07d7b6a8a85395a4e9ed46a80df9f6623.tar.gz
MFH
Diffstat (limited to 'ext/interbase')
-rw-r--r--ext/interbase/ibase_blobs.c2
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) {