SNMP++ Address class
Frank Fock
Frank.Fock____t-online.de
Thu Apr 20 01:08:36 CEST 2000
"McWilliams, Gary" wrote:
> Maybe I missed something, but...
>
No, on the contrary you found a bug (or at least a possible source of
problems).
>
> The Address class has no constructor (missing in .h file & .cpp file).
> The Address class contains an unsigned char array (address_buffer) that
> therefore never gets initialised.
>
More important than the uninitialized buffer seems to be the uninitialized
validity flag.
I have added a constructor. This fix will be part of the next SNMP++
release.
Thanks for reporting this,
Frank
More information about the AGENTPP
mailing list