FAQ
php_iconv_string() takes size_t as the out_len parameter, but
ob_iconv_handler is passing a pointer to an unsigned int.

--- php-4.3.2/ext/iconv/iconv.c.iconv 2003-03-04 17:20:27.000000000 +0000
+++ php-4.3.2/ext/iconv/iconv.c 2003-06-04 14:46:56.000000000 +0100
@@ -427,7 +427,7 @@
{
char *out_buffer, *content_type, *mimetype = NULL, *s;
zval *zv_string;
- unsigned int out_len;
+ size_t out_len;
int mimetype_alloced = 0;
long status;

Search Discussions

  • Moriyoshi Koizumi at Jun 4, 2003 at 2:30 pm
    Applied.
    Thanks for the patch.

    Moriyoshi

    Joe Orton wrote:
    php_iconv_string() takes size_t as the out_len parameter, but
    ob_iconv_handler is passing a pointer to an unsigned int.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedJun 4, '03 at 2:08p
activeJun 4, '03 at 2:30p
posts2
users2
websitephp.net

2 users in discussion

Moriyoshi Koizumi: 1 post Joe Orton: 1 post

People

Translate

site design / logo © 2022 Grokbase