pgsql: Fix bogus length calculation that could lead to crash if the

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Fix bogus length calculation that could lead to crash if the
Дата
Msg-id 20071120231441.77D787540F0@cvs.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: cunha17@pgfoundry.org (User Cunha17)
Дата:
Сообщение: snapshot - root: Removing unsupported FAST REFRESH drivers.
Следующее
От: aglio@pgfoundry.org (User Aglio)
Дата:
Сообщение: press - pr: Added HTML pages for translation.