From: | "Tom Bowden" <tom(dot)bowden(at)fis-cal(dot)com> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #4912: server core dumps on xslt_process with empty param string |
Date: | 2009-07-09 21:05:39 |
Message-ID: | 200907092105.n69L5dnf000795@wwwmaster.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged online:
Bug reference: 4912
Logged by: Tom Bowden
Email address: tom(dot)bowden(at)fis-cal(dot)com
PostgreSQL version: 8.4rc2
Operating system: Linux 2.6.22.5-31-bigsmp
Description: server core dumps on xslt_process with empty param
string
Details:
I found that when using xslt_process(), either with two parameters, or with
an empty/null third parameter -- that I get a 'server restarted' message.
To stop this behavior, I changed the source code in contrib/xml2/xslt_proc.c
(around line 142) .. adding the following:
if ( pstr == NULL || strlen(pstr) < 1 ) {
params[0] = NULL;
return;
}
I don't know if this is the right place to report this; whether there is a
better way (or not) to fix it,(add any other disclaimers you might want to
add - or tell me where you want me to go with this :).
Tom
From | Date | Subject | |
---|---|---|---|
Next Message | Mathieu De Zutter | 2009-07-09 21:53:06 | BUG #4913: Row missing from primary key index |
Previous Message | Brian Ceccarelli | 2009-07-09 20:46:45 | BUG #4911: Cannot assign a value to a member of a nested composite type. |