aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/formatting.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-11-20 23:14:41 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-11-20 23:14:41 +0000
commitd23ba77a440597a99fd6ca90cd2a750cb95be352 (patch)
treeaddcf8b5e1047460110faef8eb4a45215ef36f84 /src/backend/utils/adt/formatting.c
parent09a98e61c31938a5fb3c5a12b51fcfe08b8b3931 (diff)
downloadpostgresql-d23ba77a440597a99fd6ca90cd2a750cb95be352.tar.gz
postgresql-d23ba77a440597a99fd6ca90cd2a750cb95be352.zip
Fix bogus length calculation that could lead to crash if the string
happened to be right up against the end of memory, per report from Matt Magoffin. While at it, avoid useless multiple copying of string by not depending on xmlStrncatNew.
Diffstat (limited to 'src/backend/utils/adt/formatting.c')
0 files changed, 0 insertions, 0 deletions