]> granicus.if.org Git - postgresql/commit
Fix one-byte buffer overrun in PQprintTuples().
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Jan 2013 04:44:06 +0000 (23:44 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Jan 2013 04:44:06 +0000 (23:44 -0500)
commit01910959504912f46d5d643d692ecd2ab7eabd5d
tree9f0aa4d176e1ea90aeb817522e55223d22a86990
parentbed5141685cef7131fc4682ea83b4c9a691544e8
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