tcpdump icon indicating copy to clipboard operation
tcpdump copied to clipboard

Fixes for undefined behavior in the snmp decoder

Open fenner opened this issue 4 months ago • 6 comments

These changes fix undefined behavior in the snmp decoder when the underlying representation is of a value larger than 32-bits. The decoder fundamentally doesn't support these values, and the original behavior is GIGO. We retain the same GIGO behavior, but avoiding undefined behavior.

Fixes #1054

fenner avatar Jul 22 '25 00:07 fenner