This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/2][BZ #14547] Fix CVE-2012-4412


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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]