You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The format string contains 14 constant characters, and a 64 bit unsigned integer could take 20 characters, and then you need a null terminator. That's 35 by my count, which would be bigger than the buffer.
The text was updated successfully, but these errors were encountered:
But the definition of TimeTicks is
TimeTicks ::=
[APPLICATION 3]
IMPLICIT INTEGER (0..4294967295)
which is a maximum of 10 characters, which leaves plenty of room in the
buffer (and the value is range checked during decoding)
/Niels
Regarding these lines:
net-snmp/snmplib/mib.c
Lines 1195 to 1196 in 8fdec0d
The format string contains 14 constant characters, and a 64 bit unsigned integer could take 20 characters, and then you need a null terminator. That's 35 by my count, which would be bigger than the buffer.
The text was updated successfully, but these errors were encountered: