pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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 16:33:05 -0400
Message-ID: <17407.1338841985@sss.pgh.pa.us> (raw)
In-Reply-To: <DDAE57CA020DB347B405A6E6829F4B79112287E5@MAIL2A.alliedtesting.com>
References: <DDAE57CA020DB347B405A6E6829F4B79112287E5@MAIL2A.alliedtesting.com>

<pgagarinov@alliedtesting.com> writes:
> It looks like calling xlst_process as follows causes a crash:

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"?

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <17407.1338841985@sss.pgh.pa.us>
Permalink:  ../17407.1338841985@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17407.1338841985@sss.pgh.pa.us

 · 

reply

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: <17407.1338841985@sss.pgh.pa.us>
  References: <DDAE57CA020DB347B405A6E6829F4B79112287E5@MAIL2A.alliedtesting.com> <17407.1338841985@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