pgsql-server/src backend/libpq/hba.c include/l ...

Started by Nonameover 22 years ago1 messagescomitters
Jump to latest
#1Noname
neilc@svr1.postgresql.org

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.