php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42498 Memory leak
Submitted: 2007-08-31 15:55 UTC Modified: 2009-01-19 22:09 UTC
From: doppelbauer at gmx dot net Assigned:
Status: Closed Package: IMAP related
PHP Version: 5.2.4 OS: any
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: doppelbauer at gmx dot net
New email:
PHP Version: OS:

 

 [2007-08-31 15:55 UTC] doppelbauer at gmx dot net
Description:
------------
It seams, there there is a memory leak in "imap_rfc822_parse_adrlist()". 

A solution would be, to call "mail_free_address()" from the c-client library, after "rfc822_parse_adrlist()".



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-09-03 09:14 UTC] jani@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.


 [2007-09-11 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2009-01-19 22:00 UTC] askalski at gmail dot com
This leak is fixed by the latest 5.2 CVS
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 16 13:01:31 2025 UTC