git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 3b14a17) | patch
Fix null pointer dereference in "\c" psql command.
Thu, 9 Jul 2015 00:44:21 +0000 (20:44 -0400)
Thu, 9 Jul 2015 00:44:21 +0000 (20:44 -0400)
commit e135c3d99f4fcb03efa7b0b64445853ee2a74857
Fix null pointer dereference in "\c" psql command.

The psql crash happened when no current connection existed. (The second
new check is optional given today's undocumented NULL argument handling
in PQhost() etc.) Back-patch to 9.0 (all supported versions).
src/bin/psql/command.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /