Fix one-byte buffer overrun in PQprintTuples().

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 8f0d8f481e86514bb35538827df7e1e35baee368
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2013-01-21T04:43:46Z
Releases: 9.3.0
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

Files

PathChange+/−
src/interfaces/libpq/fe-print.c modified +3 −4