pgsql: Fix one-byte buffer overrun in PQprintTuples().

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix one-byte buffer overrun in PQprintTuples().
Дата
Msg-id E1Tx9Fa-0003h2-SM@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/2e892a15b966f5183b8aec8f4ba9d4133d2c1941

Modified Files
--------------
src/interfaces/libpq/fe-print.c |    7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix error-checking typo in check_TSCurrentConfig().
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix one-byte buffer overrun in PQprintTuples().