php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68720 use-after-free
Submitted: 2015-01-02 08:57 UTC Modified: 2015-01-03 05:34 UTC
From: bugreports at internot dot info Assigned:
Status: Not a bug Package: XMLRPC-EPI related
PHP Version: 5.4Git-2015-01-02 (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 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-02 08:57 UTC] bugreports at internot dot info
Description:
------------
Hi,

In /ext/xmlrpc/libxmlrpc/queue.c a use-after-free occurs:


542   free(iter);
[..]

547   if (q->cursor == (node*)iter) {


Thanks,


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-01-03 05:34 UTC] stas@php.net
-Status: Open +Status: Not a bug -Type: Security +Type: Bug
 [2015-01-03 05:34 UTC] stas@php.net
It's not really use after free, since iter is never dereferenced, it is just compared to another pointer. As far as I can see, there's nothing dangerous in comparing pointer to pointer, even if the memory under that pointer was deallocated.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC