From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgagarinov@alliedtesting.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: Calling xlst_process with certain arguments causes server crash
Date: Mon, 04 Jun 2012 20:16:25 -0400
Message-ID: <20758.1338855385@sss.pgh.pa.us> (raw)
In-Reply-To: <17407.1338841985@sss.pgh.pa.us>
References: <DDAE57CA020DB347B405A6E6829F4B79112287E5@MAIL2A.alliedtesting.com>
<17407.1338841985@sss.pgh.pa.us>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, pgagarinov@alliedtesting.com
Subject: Re: Calling xlst_process with certain arguments causes server crash
In-Reply-To: <20758.1338855385@sss.pgh.pa.us>
References: <DDAE57CA020DB347B405A6E6829F4B79112287E5@MAIL2A.alliedtesting.com> <17407.1338841985@sss.pgh.pa.us> <20758.1338855385@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox