Re: cube bug accepting -.1

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Bruno Wolff III <bruno(at)wolff(dot)to>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: cube bug accepting -.1
Date: 2002-08-27 21:24:48
Message-ID: 200208272124.g7RLOmC20295@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


Your patch has been added to the PostgreSQL unapplied patches list at:

http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

---------------------------------------------------------------------------

Bruno Wolff III wrote:
> The lex scanner for the cube package has an apparent error in its
> pattern for matching floating point numbers. It doesn't except cases
> where there is no digit between a sign and a decimal point. For example
> -.1 is not matched by the pattern.
>
> I have attached a patch to cubeparse.l and the regression differences.
>
> P.S. I still plan to submit enhancement patches for cube before the
> end of the week, but as this is a bug fix I thought it should really
> go in separately.

[ Attachment, skipping... ]

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruno Wolff III 2002-08-28 01:17:37 Potential buffer overflow in contrib/cube/cubeparse.y
Previous Message Bruce Momjian 2002-08-27 20:39:04 Re: Bug #743: pg_dump -a -c without DELETE FROM