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: E1Tx9Fa-0003gw-OE@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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8f0d8f481e86514bb35538827df7e1e35baee368

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().