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.
Class Changed From-To: sw-bug->update Re-class as update.
Responsible Changed From-To: freebsd-ports-bugs->kuriyama Over to maintainer.
State Changed From-To: open->closed Committed, thanks!