pgsql-server/src/bin/psql Tag: REL7_3_STABLE d ...

Started by Tom Laneover 23 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl@postgresql.org 02/12/20 20:07:21

Modified files:
src/bin/psql : Tag: REL7_3_STABLE describe.c

Log message:
Fix possible buffer overrun in \d command: substr(..., 128) produces
a result of at most 128 chars, but that could be more than 128 bytes.
Also ensure we don't try to pfree uninitialized pointers during error
cleanup.