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:50
Message-ID: [email protected]
Views: Whole Thread | Raw Message | 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
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/9a3ddecdd9261856b1091da0f7a86fa41430eaa2

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 Tom Lane 2013-01-21 04:44:51 pgsql: Fix one-byte buffer overrun in PQprintTuples().
Previous Message Tom Lane 2013-01-21 04:10:40 pgsql: Fix error-checking typo in check_TSCurrentConfig().