]> 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:43:51 +0000 (23:43 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Jan 2013 04:43:51 +0000 (23:43 -0500)
commit9a3ddecdd9261856b1091da0f7a86fa41430eaa2
tree2a378e13dda52ea930cb50644d986c878df6210d
parent666569f1fde8fbf42ca00ff08c5309c348958889
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