|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #72814 Use emalloc and friends instead of malloc
Submitted: 2016-08-11 14:21 UTC Modified: 2016-10-26 17:43 UTC
From: Assigned: cmb (profile)
Status: Closed Package: dbase (PECL)
PHP Version: Irrelevant OS: *
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:
17 - 9 = ?
Subscribe to this entry?

 [2016-08-11 14:21 UTC]
The dbase extension uses malloc() and friends in several places,
what circumvents the Zend memory manager, so memory_limit is not
properly handled, for instance.

Instead emalloc() and friends should be used.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-08-11 14:22 UTC]
-Assigned To: +Assigned To: cmb
 [2016-10-26 17:35 UTC]
Automatic comment from SVN on behalf of cmb
Log: Implement #72814: Use emalloc and friends instead of malloc

We replace the calls to the system memory manager with calls to the
ZendMM. As the ZendMM is infallible, we remove the checks for failed
 [2016-10-26 17:43 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Sep 29 00:01:24 2023 UTC