Skip to content

Conversation

@N1IOX
Copy link

@N1IOX N1IOX commented Jan 13, 2026

Fixes #57

This PR also pulls in the fix for #49, which hasn't made it into master yet

0neblock and others added 3 commits August 9, 2024 07:13
a length of exactly 256 should be encoded as:
0x82 0x01 0x00

without this change, I was seeing the encoded length of a get response (that happened to be exactly 256 bytes long) encoded as:
0x81 0x00

that was causing snmpbulkwalk to fail, since it was reading the encoded length as 0.
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.

Incorrect encoded response length when content length is exactly 256 bytes

2 participants