This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/2][BZ #14547] Fix CVE-2012-4412
- From: Siddhesh Poyarekar <siddhesh dot poyarekar at gmail dot com>
- To: Ondřej Bílka <neleai at seznam dot cz>
- Cc: Siddhesh Poyarekar <siddhesh at redhat dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Sat, 13 Jul 2013 02:37:50 +0530
- Subject: Re: [PATCH 1/2][BZ #14547] Fix CVE-2012-4412
- References: <20130630163955 dot GE2654 at spoyarek dot pnq dot redhat dot com> <20130712205829 dot GB21387 at domone dot PAOCY>
On 13 July 2013 02:28, OndÅej BÃlka <neleai@seznam.cz> wrote:
> On Sun, Jun 30, 2013 at 10:09:55PM +0530, Siddhesh Poyarekar wrote:
>> /* Cache values in the first pass and if needed, use them in subsequent
>> passes. */
>> for (int pass = 0; pass < nrules; ++pass)
>> {
>> seq1.idxcnt = 0;
>> + seq1.idx = 0;
>> + seq1.idx = 0;
> Do not duplicate code.
>
>> seq1.backw_stop = ~0ul;
>> seq1.backw = ~0ul;
>
Thanks for noticing, I'll fix it.
Siddhesh
--
http://siddhesh.in