[AGENT++] Memory management in 3.2.13
Jochen Katz
katz at agentpp.com
Sun Sep 5 21:38:16 CEST 2004
Hi,
> - Collection: there is no memory allocation check in the += operator
> - Pdu: could you consider Pdu::set_notify_*() functions to return
> bool instead of void to notify whether the set succeeded? There is no
> immediate way to check this.
> - could you assure that the only thing modified by
> Snmp::snmp_engine() on the supplied target is the engine_id for v3
> targets (and only when the current value is an empty string)?
all this will be in the next release.
> - Pdu: the copy constructor checks if memory allocation succeeded but
> there is no subsequent check if a Vb has successfully been created
> (copied in a copy constructor)
This will have to wait, as this requires a valid flag for Vb.
Regards,
Jochen
More information about the AGENTPP
mailing list