]> granicus.if.org Git - postgresql/commit
Fix possible buffer overrun in \d command: substr(..., 128) produces REL7_3_1
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 21 Dec 2002 01:07:21 +0000 (01:07 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 21 Dec 2002 01:07:21 +0000 (01:07 +0000)
commita3feaba9aa60a35b811dce954a7b41dd169bf491
treeedc06d69cb2619367bdb0ab71e1df36db5d0cdbb
parent96bce9f689073919ae727b72f143ab04857b89e4
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.
src/bin/psql/describe.c