Re: may be a buffer overflow problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: may be a buffer overflow problem
Дата
Msg-id 2294788.1718375981@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: may be a buffer overflow problem  (Daniel Gustafsson <daniel@yesql.se>)
Ответы Re: may be a buffer overflow problem
Список pgsql-hackers
Daniel Gustafsson <daniel@yesql.se> writes:
> This is indeed buggy and need to take the length into account, as per the
> attached.  This only happens when in the undocumented regression test debug
> mode which may be why it's gone unnoticed.

Seeing that this code is exercised thousands of times a day in the
regression tests and has had a failure rate of exactly zero (and
yes, the tests do check the output), there must be some reason
why it's okay.

            regards, tom lane



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

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: Shouldn't jsonpath .string() Unwrap?
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Using LibPq in TAP tests via FFI