[SNMP4J] Posibility of devided by zero?

Frank Fock fock at agentpp.com
Fri Feb 4 22:36:55 CET 2005


Hi Feyon,

Zero-length passphrases are not supported by SNMPv3.
Passwords lesser than 8 characters are disallowed per Section 11.2 of 
RFC 3414.
I have added a check for SNMP4J to ensure this lower bound which
will be released with the next update.

Best regards,
Frank

Feyon wrote:

>hi Frank,
>
>When running my program with version1.1, I got arithmetic exception which shows
>number is devided by zero at '?++%password.length' in AuthGeneric.java. Can 
>password be zero-length?
>
>Best Regards,
>Feyon
>
>
>_______________________________________________
>SNMP4J mailing list
>SNMP4J at agentpp.org
>http://p15141779.pureserver.info/mailman/listinfo/snmp4j
>
>  
>





More information about the SNMP4J mailing list