From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | PG Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | xmlconcat(NULL) crash |
Date: | 2008-11-14 15:35:38 |
Message-ID: | 491D9ACA.4000504@gmx.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Due to some code reshuffling, xmlconcat(NULL) will crash in 8.3 and 8.4.
The pfree(buf.data) in ExecEvalXml() frees a buffer that is actuall
only initialized in the XMLFOREST case. So then the xmlconcat(NULL)
falls through to the pfree() it crashes. I have attached a patch for
8.3 and 8.4 to clean this up.
Attachment | Content-Type | Size |
---|---|---|
xmlconcat-null-fix-84.diff | text/plain | 4.4 KB |
xmlconcat-null-fix-83.diff | text/plain | 4.6 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-11-14 15:44:08 | Re: gram.y => preproc.y |
Previous Message | Jonah H. Harris | 2008-11-14 15:34:55 | Re: Simple postgresql.conf wizard |