pgsql: Avoid reading below the start of a stack variable in tokenize_fi

Поиск
Список
Период
Сортировка
От Noah Misch
Тема pgsql: Avoid reading below the start of a stack variable in tokenize_fi
Дата
Msg-id E1Umuui-0007km-Qm@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Avoid reading below the start of a stack variable in tokenize_file().

We would wrongly overwrite the prior stack byte if it happened to
contain '\n' or '\r'.  New in 9.3, so no back-patch.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3a5d0c55338e6beb4c01ed5fadb1462e90db7545

Modified Files
--------------
src/backend/libpq/hba.c |    6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)


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

Предыдущее
От: Noah Misch
Дата:
Сообщение: pgsql: Don't use ordinary NULL-terminated strings as Name datums.
Следующее
От: Noah Misch
Дата:
Сообщение: pgsql: Don't pass oidvector by value.