Skip to content

Commit

Permalink
MFH
Browse files Browse the repository at this point in the history
  • Loading branch information
tony2001 committed Dec 25, 2006
1 parent 2e3cd64 commit 3fd433c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/interbase/ibase_blobs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

Expand Down

0 comments on commit 3fd433c

Please sign in to comment.