cube output function can overrun its buffer

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема cube output function can overrun its buffer
Дата
Msg-id 20020818150109.GA7982@wolff.to
обсуждение исходный текст
Ответы Re: cube output function can overrun its buffer  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
In cube_out 100 bytes are allocated to hold the output string. Instead
using a bound on the size of g format output and separation characters,
this bound times twice the dimension (possibly plus a small constant for
parens and terminating 0 byte) should be used.

With this approach you might want to add specific precision specification
in case the default precision in glibc changes in the future.

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: bug in config for cygwin
Следующее
От: Tom Lane
Дата:
Сообщение: Re: cube output function can overrun its buffer