[AGENT++] Access violation in Proxy Forwarder Example

Jochen Katz katz at agentpp.com
Wed Jan 12 23:57:49 CET 2005


Hi Marcus,

> I discovered a problem with the Proxy Forwarder example. During the 
> initialization the application crashes. The crash occurs in the
> method get_new_snmp which is newly added to SnmpRequest class when
> calling

the bug was in the constructor of RequestList: pointers snmp, vacm and 
v3mp were not set to NULL :-(

And there is a bug in the agent.cpp of the example: the line
         reqList->set_snmp(&snmp);
should be placed before creating the ProxyForwarder object.

All changes will be in the next release...

Regards,
   Jochen





More information about the AGENTPP mailing list