Re: @(#) Mordred Labs advisory 0x0001: Buffer overflow in

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: @(#) Mordred Labs advisory 0x0001: Buffer overflow in
Дата
Msg-id GNELIHDDFBOCMGBFGEFOAEMGCDAA.chriskl@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: @(#) Mordred Labs advisory 0x0001: Buffer overflow in  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: @(#) Mordred Labs advisory 0x0001: Buffer overflow in
Список pgsql-hackers
> Looks like cash_words is fixed in current CVS, so I guess in 7.2.1:
>     
>     Welcome to psql 7.3devel, the PostgreSQL interactive terminal.
>     
>     Type:  \copyright for distribution terms
>            \h for help with SQL commands
>            \? for help on internal slash commands
>            \g or terminate with semicolon to execute query
>            \q to quit
>     
>     test=> select cash_words('-700000000000000000000000000000');
>                                                          
> cash_words         
>                                                
>     
> ------------------------------------------------------------------
> --------------------------------------------------
>     
>      Minus twenty one million four hundred seventy four thousand eight
>     hundred thirty six dollars and forty eight cents
>     (1 row)

It doesn't crash - but it sure is giving the wrong answer ;)

Chris



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Remove implicit unique index creation on SERIAL columns?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: @(#) Mordred Labs advisory 0x0001: Buffer overflow in