Re: BUG #15420: Server crash. Segmentation fault when parsing xml file

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: BUG #15420: Server crash. Segmentation fault when parsing xml file
Дата
Msg-id CAFj8pRDZo4w0iunJ3z6Sh=0Lw2oOc9Hj+QTjUFnuyKdvY8Dzwg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #15420: Server crash. Segmentation fault when parsing xml file  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Ответы Re: BUG #15420: Server crash. Segmentation fault when parsing xml file  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Список pgsql-bugs


pá 5. 10. 2018 v 15:22 odesílatel Andrew Gierth <andrew@tao11.riddles.org.uk> napsal:
>>>>> "Pavel" == Pavel Stehule <pavel.stehule@gmail.com> writes:

 Pavel> There are different parsing methods

 Pavel>  xmlCtxtReadDoc versus xmlParseBalancedChunkMemory

 Pavel> The problem is with xmlParseBalancedChunkMemory

No, it's not.

I don't yet know about 2.9.8, but the crash with 2.9.4 is a bug in
libxml2's error handling which has _nothing to do_ with which API you
use. Read the analysis I posted.

ok. Probably there are more than one issue. 1. crash, 2. raising huge input lookup, maybe other.

libxml2 is great library, but I didn't understand their system still.

Regards

Pavel


--
Andrew.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Andrew Gierth
Дата:
Сообщение: Re: BUG #15420: Server crash. Segmentation fault when parsing xml file
Следующее
От: Andrew Gierth
Дата:
Сообщение: Re: BUG #15420: Server crash. Segmentation fault when parsing xml file