Обсуждение: pgsql: Avoid reading below the start of a stack variable in tokenize_fi

Поиск
Список
Период
Сортировка

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

От
Noah Misch
Дата:
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(-)