[SNMP4J] some bugs in snmp4j

Matthieu Casanova chocolat.mou at gmail.com
Fri Jan 12 14:57:12 CET 2007


Hi, I did a small analysis on snmp4j 1.8rc1 and snmp4j-agent 1.1rc1 and I
found this

in org.snmp4j.agent.mo.snmp.ProxyForwarderImpl line 98

if (!translatedResponse.getClass().equals(respPDU)) {

I suppose it should be

if (!translatedResponse.getClass().equals(respPDU.getClass())) {



a NPE in MoMutableColumn
in method
public synchronized void
      removeMOValueValidationListener(MOValueValidationListener validator) {
    if (validators == null) {
      validators.remove(validator);
    }
  }

== should be replaced by !=

Matthieu



More information about the SNMP4J mailing list