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

From Tom Lane
Subject pgsql: Fix one-byte buffer overrun in PQprintTuples().
Date
Msg-id E1Tx9Fa-0003h3-Ta@gemulon.postgresql.org
Whole thread Raw
List 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_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/e4cfb5f2e6c7ab8921c174ea44e628d3768646a8

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


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix one-byte buffer overrun in PQprintTuples().
Next
From: Tom Lane
Date:
Subject: pgsql: Fix one-byte buffer overrun in PQprintTuples().