Potential buffer overflow in contrib/cube/cubeparse.y - Mailing list pgsql-bugs

From Bruno Wolff III
Subject Potential buffer overflow in contrib/cube/cubeparse.y
Date
Msg-id 20020828011737.GA14178@wolff.to
Whole thread Raw
List 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.

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: cube bug accepting -.1
Next
From: Casey Allen Shobe
Date:
Subject: Re: Command-line client sometimes misinterprets tabs for nulls