diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-11-20 23:14:41 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-11-20 23:14:41 +0000 |
commit | d23ba77a440597a99fd6ca90cd2a750cb95be352 (patch) | |
tree | addcf8b5e1047460110faef8eb4a45215ef36f84 /src/backend/utils/adt/formatting.c | |
parent | 09a98e61c31938a5fb3c5a12b51fcfe08b8b3931 (diff) | |
download | postgresql-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