Re: Calling xlst_process with certain arguments causes server crash

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Calling xlst_process with certain arguments causes server crash
Дата
Msg-id 20758.1338855385@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Calling xlst_process with certain arguments causes server crash  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Calling xlst_process with certain arguments causes server crash  (<pgagarinov@alliedtesting.com>)
Список pgsql-bugs
I wrote:
> Hm, apparently xsltApplyStylesheet returns a NULL in this example,
> and we're passing that on to xsltSaveResultToString which is not
> expecting any such thing.  I presume we need another error check
> here, but what should the error say exactly?  Can we get any info
> more detailed than "failed to apply stylesheet"?

Apparently not -- or at least, if libxslt provides any easy way to
extract error reports, it's not evident from the pretty-awful
documentation.  I've committed a fix that just reports "failed to apply
stylesheet".

            regards, tom lane

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: BUG #6672: Memory leaks in dumputils.c
Следующее
От: Tom Lane
Дата:
Сообщение: Re: control character check in JSON type seems broken