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

List:       net-snmp-bugs
Subject:    [ net-snmp-Bugs-412000 ] open file proc/net/snmp not closed
From:       noreply () sourceforge ! net
Date:       2001-03-28 20:20:53
[Download RAW message or body]

Bugs item #412000, was updated on 2001-03-28 12:20
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=112694&aid=412000&group_id=12694

Category: agent
Group: None
Status: Open
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: open file proc/net/snmp not closed

Initial Comment:
In the UCD SNMP v4.2 source dir agent/mibgroup/kernel_linux.c, the function 
linux_read_mibII_stats opens the proc/net/snmp file. The following test does a return 0
without closing the opened file:

   if (linux_mibII_stats_cache_marker &&
        (!atime_ready( linux_mibII_stats_cache_marker, LINUX_STATS_CACHE_TIMEOUT
*1000 )))
        return 0;

I could not find if this problem had been reported in the past.

Pjw


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=112694&aid=412000&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