Re: [CHECKER] 9 potential out-of-bounds array access errors

From: Yichen Xie <yxie(at)cs(dot)stanford(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org, <mc(at)cs(dot)stanford(dot)edu>
Subject: Re: [CHECKER] 9 potential out-of-bounds array access errors
Date: 2003-01-28 23:34:38
Message-ID: Pine.LNX.4.44.0301281530210.3200-100000@canoe
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Both are flagged though--the other one's 85 lines down in the bug report..
;) I probably should've sorted the list by location to minimize confusion.
Thanks for the feedback!

-Yichen

On Tue, 28 Jan 2003, Tom Lane wrote:

> This looks like great stuff --- I haven't read through all of them, but
> at least the first couple look like genuine bugs. I'm a little
> suspicious of the tool's coverage though. For example, in
> src/backend/utils/mb/conversion_procs/euc_tw_and_big5/big5.c,
> why'd it flag only one of the two loops that use the same incorrect
> limit for scanning b1c4[][] ?
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2003-01-29 00:05:34 Re: [CHECKER] 9 potential out-of-bounds array access errors
Previous Message Tom Lane 2003-01-28 23:16:58 Re: [CHECKER] 9 potential out-of-bounds array access errors