pgsql: Fix one-byte buffer overrun in PQprintTuples().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix one-byte buffer overrun in PQprintTuples().
Date: 2013-01-21 04:44:51
Message-ID: E1Tx9Fa-0003h8-Vy@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix one-byte buffer overrun in PQprintTuples().

This bug goes back to the original Postgres95 sources. Its significance
to modern PG versions is marginal, since we have not used PQprintTuples()
internally in a very long time, and it doesn't seem to have ever been
documented either. Still, it *is* exposed to client apps, so somebody
out there might possibly be using it.

Xi Wang

Branch
------
REL8_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/59d70a5e9c9a2dedac5c237cb005d9f32485cbff

Modified Files
--------------
src/interfaces/libpq/fe-print.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2013-01-21 15:10:47 pgsql: Refactor ALTER some-obj RENAME implementation
Previous Message Tom Lane 2013-01-21 04:44:50 pgsql: Fix one-byte buffer overrun in PQprintTuples().