[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iconv test on AIX 7.1BETA

From: Rainer Tammer
Subject: Re: iconv test on AIX 7.1BETA
Date: Sat, 31 Jul 2010 14:12:31 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20100701 SeaMonkey/2.0.6

Hello Bruno,

Bruno Haible wrote:
> Rainer Tammer wrote:
>> # ./testme
>> res = 0
>> outptr-buf = 2, outbytesleft = -1, buf = { 0xC3, 0x84 }
> This is a buffer overrun bug: Although an outbytesleft argument of 1 is
> given, the iconv() function writes 2 bytes into memory. This kind of bug,
> if not worked around, can crash any program that uses iconv.
> I'm adding this detection to gnulib. It will have the effect that the
> iconv() function is not used in this case, which is better than using a
> function that can crash the program.
this has the consequence that we need a fix from IBM ASAP or that the
installation of GNU iconv is necessary.
I will try the current iconv in AIX 5.3/6.1/7BETA in the next couple of

When I open an PMR with IBM I send them the test program, this should
show the problem.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]