diff options
author | Antony Dovgal <tony2001@php.net> | 2006-12-25 20:44:45 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-12-25 20:44:45 +0000 |
commit | 2e3cd64566586a0afb3dfe64cfbe1d91f219cadd (patch) | |
tree | d5a97cea6aa51842c2e667a8ddc8bc1aba26faef /ext/iconv | |
parent | 35db4d21b0f6ef6393941a1a6a7bd036a572ce5e (diff) | |
download | php-git-2e3cd64566586a0afb3dfe64cfbe1d91f219cadd.tar.gz |
MFH
Diffstat (limited to 'ext/iconv')
-rw-r--r-- | ext/iconv/iconv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/iconv/iconv.c b/ext/iconv/iconv.c index 9cfdf8bebb..5ff1d0abbb 100644 --- a/ext/iconv/iconv.c +++ b/ext/iconv/iconv.c @@ -1040,7 +1040,7 @@ static php_iconv_err_t _php_iconv_mime_encode(smart_str *pretval, const char *fn goto out; } - buf = emalloc(max_line_len + 5); + buf = safe_emalloc(1, max_line_len, 5); char_cnt = max_line_len; |