php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13479 major resource leak
Submitted: 2001-09-28 10:57 UTC Modified: 2001-10-15 14:37 UTC
From: Padraig at linux dot ie Assigned:
Status: Closed Package: SNMP related
PHP Version: 4.0.6 OS:
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: Padraig at linux dot ie
New email:
PHP Version: OS:

 

 [2001-09-28 10:57 UTC] Padraig at linux dot ie
Before every RETURN_FALSE; you should snmp_clse(ss);
A diff against the latest /ext/snmp/snmp.c (1.51) is
available at:
http://www.iol.ie/~padraiga/snmp-1.51-snmpclose.diff
Note this happens a lot in my experience as there is
a lot of code that does:
while (snmpget(...))
{
   ....
}

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-15 14:37 UTC] ssb@php.net
Fixed in CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 10:01:29 2024 UTC