aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-07-10 00:32:17 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-07-10 00:32:17 +0000
commit702e2989d5958e7f3004cb20e1ee8d3ec5aca864 (patch)
tree223a680a56e6292825a3fe3de220e4d31aefb561 /src/backend/access/gist
parentdba44a63b09bb4b3fbf5368364d8fa06f3c4250c (diff)
downloadpostgresql-702e2989d5958e7f3004cb20e1ee8d3ec5aca864.tar.gz
postgresql-702e2989d5958e7f3004cb20e1ee8d3ec5aca864.zip
Fix xslt_process() to ensure that it inserts a NULL terminator after the
last pair of parameter name/value strings, even when there are MAXPARAMS of them. Aboriginal bug in contrib/xml2, noted while studying bug #4912 (though I'm not sure whether there's something else involved in that report). This might be thought a security issue, since it's a potential backend crash; but considering that untrustworthy users shouldn't be allowed to get their hands on xslt_process() anyway, it's probably not worth getting excited about.
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions