pgsql: Fix one-byte buffer overrun in PQprintTuples().
pgsql: Fix one-byte buffer overrun in PQprintTuples().
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
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(-)