Menu

#1244 Fix to memory leak and close sockets while reconfiguring snmpd with signal HUP

backport-needed
open
nobody
None
5
2014-08-26
2012-12-19
No

Bug Description:
Memory and sockets allocated while creating notifications is not freed when snmpd is reconfigured(by sending -HUP signal).

Bug fix details:
register for SNMPD_CALLBACK_PRE_UPDATE_CONFIG callback function for in init functions snmpTargetAddrTable and snmpTargetParamsTable so that memory and sockets can be freed while reconfiguring.

Testing:
Tested on debian paltfrom by reconfiguring snmpd 6 times with 255 hosts. all the functionality of snmpd, walk, set and traps was intact

1 Attachments

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.