php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2565 WDDX function kills script on failure
Submitted: 1999-10-19 00:12 UTC Modified: 1999-10-19 09:27 UTC
From: djm at web dot us dot uu dot net Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0 Beta 2 OS: BSDI BSD/OS 4.0.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: djm at web dot us dot uu dot net
New email:
PHP Version: OS:

 

 [1999-10-19 00:12 UTC] djm at web dot us dot uu dot net
wddx_deserialize() kills your PHP script if you feed it something that doesn't contain a well-formed WDDX packet. For example, this program: 

$value = wddx_deserialize("foo");

doesn't return an error code, but instead you get this back from apache: 

<HTML>
<HEAD>
<TITLE>
An Error Occurred
</TITLE>
</HEAD>
<BODY>
<H1>An Error Occurred</h1>
500 - Unexpected EOF.

</BODY>
</HTML>

I have PHP installed as a DSO in apache 1.3.9.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-10-19 09:27 UTC] andrei at cvs dot php dot net
This has already been fixed for Beta 3.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 13 17:01:58 2024 UTC