diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-07-10 00:32:12 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-07-10 00:32:12 +0000 |
commit | 1201008103de91d30c78beb8cb4db1fd80cfc275 (patch) | |
tree | 8e03e13f53b8f909e4ca74d46b38fcf555776d78 /src/backend/access/gist/gistget.c | |
parent | 96ee4c9726e5895e6cae49638471b25f139514df (diff) |
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/gistget.c')
0 files changed, 0 insertions, 0 deletions