php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68811 Unchecked return value
Submitted: 2015-01-12 15:44 UTC Modified: 2017-08-13 19:31 UTC
From: bugreports at internot dot info Assigned:
Status: Duplicate Package: WDDX related
PHP Version: master-Git-2015-01-12 (Git) OS: Linux Ubuntu 14.04
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bugreports at internot dot info
New email:
PHP Version: OS:

 

 [2015-01-12 15:44 UTC] bugreports at internot dot info
Description:
------------
Hi,

In /ext/wddx/wddx.c:

 885                        new_str = php_base64_decode(Z_STRVAL(ent1->data), Z_STRLEN(ent1->data));

this is unchecked against NULL, as it is done everywhere else. It may cause a null pointer dereference.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-08-13 19:31 UTC] cmb@php.net
-Status: Open +Status: Duplicate
 [2017-08-13 19:31 UTC] cmb@php.net
Closing as duplicate of bug #72750.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 18:01:31 2024 UTC