Hi,
I faced some problem in the following functions:
vacm_parse_config_group
vacm_parse_config_view
vacm_parse_config_access

All of those functions are calling to "read_config_read_octet_string"
which use the un-initialized  "len" to calculate the string length.
"if (ilen >= *len)", In my case , "len" was equal to "3" which cause the
string to be 2 letter's long.

The same problem with "if (*str == NULL)" , *str wasn't initialized as
well.

I have found an oldest message which suggesting to initialize len to
VACMSTRINGLEN
(http://sourceforge.net/mailarchive/message.php?msg_id=10687468).

Is it the right value for the initialization ?

Regards,
Ofer


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to