]> 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:01 +0000 (23:44 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Jan 2013 04:44:01 +0000 (23:44 -0500)
commite4cfb5f2e6c7ab8921c174ea44e628d3768646a8
tree1475036e8a483f6b35558844f1910efd75295837
parente64a48e69978a78c2a20c467063c382590a9b1af
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