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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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 10:00:02 2026 UTC