|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68906 Use after free
Submitted: 2015-01-24 19:58 UTC Modified: 2015-01-24 21:47 UTC
From: bugreports at internot dot info Assigned:
Status: Not a bug Package: opcache
PHP Version: 5.5.21 OS: Linux Ubuntu 14.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
49 + 7 = ?
Subscribe to this entry?

 [2015-01-24 19:58 UTC] bugreports at internot dot info

In /ext/opcache/zend_shared_alloc.c:

'source' is freed:

350                interned_efree((char*)source);
351        }

   but then used:
352        zend_shared_alloc_register_xlat_entry(source, retval);



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-01-24 21:47 UTC]
-Status: Open +Status: Not a bug
 [2015-01-24 21:47 UTC]
I don't see any issue there - zend_shared_alloc_register_xlat_entry() does not dereference the pointer, only uses its value.
 [2015-01-24 21:47 UTC]
-Type: Security +Type: Bug
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Jan 26 15:03:33 2022 UTC