pgsql-server/src backend/libpq/hba.c include/l ...
pgsql-server/src backend/libpq/hba.c include/l ...
От:
neilc@svr1.postgresql.org (Neil Conway)
Дата:
CVSROOT: /cvsroot Module name: pgsql-server Changes by: neilc@svr1.postgresql.org 04/02/02 12:58:31 Modified files: src/backend/libpq: hba.c src/include/libpq: hba.h Log message: Fix a read of uninitialized memory in next_token() of hba.c, spotted via valgrind: a buffer passed to strncmp() had to be NUL-terminated. Original report and patch from Dennis Bjorkland, some cleanup by Andrew Dunstan, and finally some editorializing from Neil Conway.