aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2014-10-26 19:17:55 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2014-10-26 19:17:55 -0400
commit9711fa06081da230e62fa52147c49ccf7b9ccbe2 (patch)
tree53b380eea50edb794d27bc8e555a38fce7ecc811 /src/backend/access/gist/gistutil.c
parenta4523c5aa5349510ddb74abddc416add2536ec3d (diff)
downloadpostgresql-9711fa06081da230e62fa52147c49ccf7b9ccbe2.tar.gz
postgresql-9711fa06081da230e62fa52147c49ccf7b9ccbe2.zip
Fix undersized result buffer in pset_quoted_string().
The malloc request was 1 byte too small for the worst-case output. This seems relatively unlikely to cause any problems in practice, as the worst case only occurs if the input string contains no characters other than single-quote or newline, and even then malloc alignment padding would probably save the day. But it's definitely a bug. David Rowley
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions