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: OndÅej BÃlka <neleai at seznam dot cz>
- To: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 12 Jul 2013 22:58:29 +0200
- Subject: Re: [PATCH 1/2][BZ #14547] Fix CVE-2012-4412
- References: <20130630163955 dot GE2654 at spoyarek dot pnq dot redhat dot com>
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;