summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/datetime.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-07-10 00:32:29 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-07-10 00:32:29 +0000
commitf5c2de263ec0fe865bc4d69b49fb4004306895b9 (patch)
tree123b5667c1df23c08ba95d594dccd62557bbfaca /src/backend/utils/adt/datetime.c
parent455658ada3983e14ddab68f1aa16599d7686ebc2 (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/utils/adt/datetime.c')
0 files changed, 0 insertions, 0 deletions