Skip to content

Conversation

@lakshmankumar12
Copy link

We had a case where

oid: '1.3.6.1.2.1.4.24.4.1'
endoid: '1.3.6.1.2.1.5'

When checking against '1.3.6.1.2.1.4.20.1.1.32.4.1.2', which is below the start-oid's range (note the 20 < 24), it still evaluate as success, making the get-next give a OID that is lesser than the input oid.

The bug seems to be case where the endoid was shorter and this raises a IndexError making the test for (start)oid useless. So, i have separated the tests for soid and eoid. Please consider this change and merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant