Re: [CHECKER] 9 potential out-of-bounds array access errors - Mailing list pgsql-bugs

From Tatsuo Ishii
Subject Re: [CHECKER] 9 potential out-of-bounds array access errors
Date
Msg-id 20030129.100730.74755868.t-ishii@sra.co.jp
Whole thread Raw
In response to [CHECKER] 9 potential out-of-bounds array access errors  ("Yichen Xie" <yxie@cs.stanford.edu>)
Responses Re: [CHECKER] 9 potential out-of-bounds array access errors  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
> We are a group of Stanford researchers, and we've recently developed a
> tool that detects potential out-of-bounds array accesses and buffer
> overruns. Here are 9 potential bugs we've found on postgresql 7.3.1.
> We've been checking linux for a few years, and we're interested in
> expanding to other system software as well. Let us know if you guys are
> interested in bug reports like this. Confirmation and comments will be
> appreciated.

Thanks. I have confirmed that at least following reports are
correct. Will fix them.

> [BUG] "i" can go up to 13
> X [FALSE]
> X [UNKNOWN]
> X [BROKE]
> X [SKIP]
> /u2/yxie/postgresql-7.3.1/src/backend/utils/mb/conversion_procs/euc_tw_a
> nd_big5/big5.c:364:CNStoBIG5: ERROR:BUFFER:364:364:Array bounds error
v
> [BUG] "i" can go up to 13
> X [FALSE]
> X [UNKNOWN]
> X [BROKE]
> X [SKIP]
> /u2/yxie/postgresql-7.3.1/src/backend/utils/mb/conversion_procs/euc_tw_a
> nd_big5/big5.c:371:CNStoBIG5: ERROR:BUFFER:371:371:Array bounds error
--
Tatsuo Ishii

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: [CHECKER] 9 potential out-of-bounds array access errors
Next
From: Tom Lane
Date:
Subject: Re: [CHECKER] 9 potential out-of-bounds array access errors