diff options
| author | Derick Rethans <derick@php.net> | 2002-02-20 15:53:25 +0000 |
|---|---|---|
| committer | Derick Rethans <derick@php.net> | 2002-02-20 15:53:25 +0000 |
| commit | 8b7b813ebcceb3f40b9a1c27e72fee835477cf62 (patch) | |
| tree | e542d8ab7b37d5114fe268d8f7995fc6f2b745b1 | |
| parent | 9d6c7626da44470c16b2e7c7f59fa2ed9f197c7c (diff) | |
| download | php-git-8b7b813ebcceb3f40b9a1c27e72fee835477cf62.tar.gz | |
- Fix for bug #15628 (for real now :)
| -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 8e51bf7e19..4e9e4d747a 100644 --- a/ext/iconv/iconv.c +++ b/ext/iconv/iconv.c @@ -193,7 +193,7 @@ PHP_NAMED_FUNCTION(php_if_iconv) if (php_iconv_string(Z_STRVAL_PP(in_buffer), Z_STRLEN_PP(in_buffer), &out_buffer, &out_len, Z_STRVAL_PP(in_charset), Z_STRVAL_PP(out_charset)) == SUCCESS) { - RETVAL_STRINGL(out_buffer, out_len, 0); + RETVAL_STRINGL(out_buffer, out_len + 1, 0); } else { RETURN_FALSE; } |
