net-snmp 5.1.4 bugs or?

"Domenico Vitullo" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello, I'm a beginner about snmp and net-snmp users-list.
I'd like to propose two kinds of "misbehaviour" I observed running net-snmp
5.1.4 on a PPC machine.

1) in my opinion check into netsnmp_check_vb_size (snmplib/check_varbind.c)
should be as follows
if ((var->val_len > size) && (var->val_len <= 0))
        rc = SNMP_ERR_WRONGLENGTH;

2) snmp_reset_var_buffers, file is snmplib/snmp_client.c
following check is missing. We could have a crash on some machine
           if (NULL != var->name)
                       free(var->name);


Please let me know if you agree about that (bugs?) and if it's necessary to
open trouble reports.

Best regards.
Domenico Vitullo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.