Bug 78807 - net-mgmt/net-snmp: memory leak
Summary: net-mgmt/net-snmp: memory leak
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jun Kuriyama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-14 10:10 UTC by Andriy Gapon
Modified: 2005-03-22 08:34 UTC (History)
0 users

See Also:


Attachments
libwrap-unknown.patch (401 bytes, patch)
2005-03-14 10:10 UTC, Andriy Gapon
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!