Bug 78807

Summary: net-mgmt/net-snmp: memory leak
Product: Ports & Packages Reporter: Andriy Gapon <avg>
Component: Individual Port(s)Assignee: Jun Kuriyama <kuriyama>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
libwrap-unknown.patch none

Description Andriy Gapon 2005-03-14 10:10:02 UTC
the problem is obvious from looking at the code and the attached patch -
memory used by addr_string is not freed before re-assigning the varible.
I am not sure about the exact circumstances that result in the problematic
code path being taken, but if you see messages like this:
Connection from <UNKNOWN>
in your snmpd.log, you need this patch.

How-To-Repeat: if you see messages like this:
Connection from <UNKNOWN>
in your snmpd.log, then you should also see that snmpd size grows with time.
Comment 1 Florent Thoumie freebsd_committer freebsd_triage 2005-03-14 10:23:18 UTC
Class Changed
From-To: sw-bug->update

Re-class as update. 


Comment 2 Florent Thoumie freebsd_committer freebsd_triage 2005-03-14 10:23:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kuriyama

Over to maintainer.
Comment 3 Jun Kuriyama freebsd_committer freebsd_triage 2005-03-22 08:33:57 UTC
State Changed
From-To: open->closed

Committed, thanks!