Hi
all,
Downloaded 5.2.1.2
to work with on Win2k.
Read thru the
install, adding the SDK and SSL library (which are now different to the doco
BTW) for Visual Studio 6.
Then did a walk of
my router for '.1.3.6.1.2.1.1' (system) using -v 1.
Worked OK. Wanted to
check for memory leaks so I added Visual Leak Detector
[http://www.codeproject.com/tools/visualleakdetector.asp]
and later
substituted that for the one on MSDN
[http://msdn.microsoft.com/library/default.asp?url="">
Both show what
appear to be the same details and that's a lot of leaks and for this single run
about 1200 bytes leak.
Looks like there are
some calls missing like snmp_shutdown("snmpwalk") just before the exit
maybe?
Also there seems to
be be no free'ing of logh->token in snmp_logging.c
Finally 'sensitive'
in snmp_parse_args is being reported as not free'd.
Can someone confirm
my thinking?
Now I just need to
figure out what resources are consumed and need to be free'd in a threaded
application (SINGLE API) - any takers?
Thanks
...Laurie :{)
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.16/50 - Release Date: 15/07/2005
