[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:1.9.1.11) 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.
>
>
OK,
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
days.
When I open an PMR with IBM I send them the test program, this should
show the problem.
Bye
Rainer
- poll on AIX 7.1BETA, (continued)
- poll on AIX 7.1BETA, Bruno Haible, 2010/07/30
- dirfd on AIX 7.1BETA, Bruno Haible, 2010/07/30
- Re: dirfd on AIX 7.1BETA, Rainer Tammer, 2010/07/31
- Re: dirfd on AIX 7.1BETA, Bruno Haible, 2010/07/31
- Re: dirfd on AIX 7.1BETA, Rainer Tammer, 2010/07/31
- iconv test on AIX 7.1BETA, Bruno Haible, 2010/07/30
- Re: iconv test on AIX 7.1BETA, Rainer Tammer, 2010/07/31
- Re: iconv test on AIX 7.1BETA, Bruno Haible, 2010/07/31
- Re: iconv test on AIX 7.1BETA, Rainer Tammer, 2010/07/31
- Re: iconv test on AIX 7.1BETA, Bruno Haible, 2010/07/31
- Re: iconv test on AIX 7.1BETA,
Rainer Tammer <=
- linkat test on AIX 7.1BETA, Bruno Haible, 2010/07/30
- Re: linkat test on AIX 7.1BETA, Rainer Tammer, 2010/07/31
- Re: linkat test on AIX 7.1BETA, Bruno Haible, 2010/07/31
- Re: linkat test on AIX 7.1BETA, Rainer Tammer, 2010/07/31
- Re: linkat test on AIX 7.1BETA, Bruno Haible, 2010/07/31
- fchownat test on AIX 7.1BETA, Bruno Haible, 2010/07/30
- Re: fchownat test on AIX 7.1BETA, Rainer Tammer, 2010/07/31
- Re: fchownat test on AIX 7.1BETA, Bruno Haible, 2010/07/31
- Re: fchownat test on AIX 7.1BETA, Rainer Tammer, 2010/07/31
- Re: fchownat test on AIX 7.1BETA, Bruno Haible, 2010/07/31