]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix one-byte buffer overrun in PQprintTuples().
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Jan 2013 04:43:56 +0000 (23:43 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Jan 2013 04:43:56 +0000 (23:43 -0500)
commit2e892a15b966f5183b8aec8f4ba9d4133d2c1941
treed2dd1223d9f9edf0a6f95a555516133e1f7eb35b
parent4a6232cce315f58bb674dd7ce6bd9166aa58fdb3
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
src/interfaces/libpq/fe-print.c