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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [CHECKER] 9 potential out-of-bounds array access errors
Дата
Msg-id 4825.1043795818@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [CHECKER] 9 potential out-of-bounds array access errors  ("Yichen Xie" <yxie@cs.stanford.edu>)
Ответы Re: [CHECKER] 9 potential out-of-bounds array access errors  (Yichen Xie <yxie@cs.stanford.edu>)
Список pgsql-bugs
"Yichen Xie" <yxie@cs.stanford.edu> writes:
> 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.

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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgtcl combined with view with certain insert/update-rules => crash
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [CHECKER] 9 potential out-of-bounds array access errors