Potential buffer overflow in contrib/cube/cubeparse.y

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Potential buffer overflow in contrib/cube/cubeparse.y
Date: 2002-08-28 01:17:37
Message-ID: 20020828011737.GA14178@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

In the function cube_yyerror an output buffer of 256 bytes is allocated
to be used for an error message that outputs some of the input buffer.
I think the portion of the input buffer that is echod can potentially
be longer than this.

Browse pgsql-bugs by date

  From Date Subject
Next Message Casey Allen Shobe 2002-08-28 05:01:51 Re: Command-line client sometimes misinterprets tabs for nulls
Previous Message Bruce Momjian 2002-08-27 21:24:48 Re: cube bug accepting -.1