From: | "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au> |
---|---|
To: | "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>, "Justin Clift" <justin(at)postgresql(dot)org> |
Cc: | "Vince Vielhaber" <vev(at)michvhf(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: @(#) Mordred Labs advisory 0x0001: Buffer overflow in |
Date: | 2002-08-20 03:24:43 |
Message-ID: | GNELIHDDFBOCMGBFGEFOAEMGCDAA.chriskl@familyhealth.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-08-20 03:27:43 | Re: @(#) Mordred Labs advisory 0x0001: Buffer overflow in |
Previous Message | Bruce Momjian | 2002-08-20 03:17:55 | Re: Remove implicit unique index creation on SERIAL columns? |