|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67617 SOAP leaves incomplete cache file on ENOSPC
Submitted: 2014-07-14 13:46 UTC Modified: 2023-10-19 16:36 UTC
From: jille at hexon dot cx Assigned: nielsdos (profile)
Status: Closed Package: SOAP related
PHP Version: master-Git-2014-07-14 (Git) OS: All
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.
Block user comment
Status: Assign to:
Bug Type:
From: jille at hexon dot cx
New email:
PHP Version: OS:


 [2014-07-14 13:46 UTC] jille at hexon dot cx
The SOAP-extension leaves an incomplete cache file when the disk is (almost) full. It should remove the cache file if it detects an error while writing it.

The best fix will probably be to write it to a tempfile and rename() it when that succeeded. That would also solve

Expected result:
The cache file to be ignored and/or removed and/or rewritten

Actual result:
Segmentation faults and "Out of memory (allocated 196870144) (tried to allocate 18446744073340452865 bytes)" (±2^64)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2023-10-19 16:36 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: nielsdos
 [2023-10-19 16:36 UTC]
The fix for this bug has been committed.
If you are still experiencing this bug, try to check out latest source from and re-test.
Thank you for the report, and for helping us make PHP better.

Fixed as a consequence of fixing #66150.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 23 10:01:34 2024 UTC