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