php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6014 Seg Fault when parsing XML with CDATA
Submitted: 2000-08-08 00:24 UTC Modified: 2000-09-21 10:49 UTC
From: matt at genicomsystems dot com Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.1pl2 OS: RedHat Linux 6.1
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: matt at genicomsystems dot com
New email:
PHP Version: OS:

 

 [2000-08-08 00:24 UTC] matt at genicomsystems dot com
If I try to include CDATA sections in my XML, I get a seg fault every time.  It doesn't matter where in the XML I do it. e.g.

<?xml version="1.0" ?>
<odata><![CDATA[
<SELECT name=ODATA>
<OPTION VALUE="1">Option 1</OPTION>
<OPTION VALUE="2">Option 2</OPTION>
<OPTION VALUE="3">Option 3</OPTION>
</SELECT>
]]>
</odata>

will produce a seg fault.

Regards,

Matthew Clark.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-27 18:48 UTC] sniper@php.net
Please attach a minimal php-script  to reproduce this segfault.

--Jani
 [2000-09-21 10:49 UTC] sniper@php.net
No feedback. Try 4.0.2 or snapshot. Reopen if still crashes.

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 20:00:02 2026 UTC