This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix out-of-bounds access in IBM-1360 converter
- From: Jeff Law <law at redhat dot com>
- To: Andreas Schwab <schwab at suse dot de>, libc-alpha <libc-alpha at sourceware dot org>
- Cc: Martin Sebor <msebor at gmail dot com>
- Date: Tue, 24 Jul 2018 08:27:58 -0600
- Subject: Re: [PATCH] Fix out-of-bounds access in IBM-1360 converter
- References: <4012c914-e051-3f6c-f604-555de0db8c69@redhat.com> <mvmlga022dh.fsf@suse.de>
On 07/24/2018 07:24 AM, Andreas Schwab wrote:
> The IBM-1360 converter can consume/produce two UCS4 characters in each
> loop.
>
> * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
> (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
Yes, that fixes the problem. Thanks!
jeff