[SNMP4J] Bug in MessageDispatcherImpl.getNextRequestID() in SNMP4J v1.5
Esteban José García Zamora
esteban.garcia at tecsidel.es
Wed Jul 20 13:26:15 CEST 2005
Hello.
getNextRequestID() in MessageDispacherImpl.java have an error.
If nextTransactionID becomes negative, the method will return 1 for all the negative values in nextTransactionID.
There will be necessary to change line:
145 nextID = 1;
by this one:
145 nextTransactionID = nextID = 1;
And that's all.
By the way. Congratulations for your great work making this snmp package.
Esteban.
More information about the SNMP4J
mailing list