pgsql: Fix bogus length calculation that could lead to crash if the - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix bogus length calculation that could lead to crash if the
Date
Msg-id 20071120231441.77D787540F0@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        xml.c (r1.58 -> r1.59)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/xml.c?r1=1.58&r2=1.59)

pgsql-committers by date:

Previous
From: cunha17@pgfoundry.org (User Cunha17)
Date:
Subject: snapshot - root: Removing unsupported FAST REFRESH drivers.
Next
From: aglio@pgfoundry.org (User Aglio)
Date:
Subject: press - pr: Added HTML pages for translation.