memory leak in sn_reg_get_variable_array

Pankaj Biswas <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CALFstV_8MwnSm0TG+DMGdy2daG2zOUfQhrTjuagxithY2hiwoA@mail.gmail.com>
hi Team,

I ran valgrind on snmpd and found definite leaks in sn_reg_get_variable_array()
where malloc for vars was never freed. Is this fixed in any coming recent
version? not sure how vars ever gets deallocated. NET-SNMP doesn't seem to
have a deinitialization story, so maybe it never does. As long as it never
gets reinitialized, there's no problem, Should check to see if we get
called again on SIGHUP. but we are still leaking 22kb.

thanks,
PKB

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.