[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-bugs
Subject:    [Bug #130740] agentx code is leaking file descriptors
From:       noreply () sourceforge ! net
Date:       2001-02-01 21:03:55
[Download RAW message or body]

Bug #130740, was updated on 2001-Feb-01 13:03
Here is a current snapshot of the bug.

Project: net-snmp
Category: library
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: dsebastian
Assigned to : nobody
Summary: agentx code is leaking file descriptors 

Details: line (roughly) 1151 in snmplib/snmp_api.c

mkstemp(ips->me.sa_data);
This opens a file descriptor which is never closed.

Needs to be changed to

 close(mkstemp(isp->me.sa_data));

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=130740&group_id=12694

_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/net-snmp-bugs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic