In snmp_api.h, the snmp message id (msgid)is defined in struct snmp_pdu
as a long value. Then in snmp_api.c, snmpv3_parse does the following
message id boundry check.
if (pdu->msgid < 0 || pdu->msgid > 0x7fff) {
snmp_log(LOG_ERR, "Received bad msgID (%ld %s %s).\n",
pdu->msgid,
In snmp_api.h, the snmp message id (msgid)is defined in struct snmp_pdu
as a long value. Then in snmp_api.c, snmpv3_parse does the following
message id boundry check.
if (pdu->msgid < 0 || pdu->msgid > 0x7fff) {
snmp_log(LOG_ERR, "Received bad msgID (%ld %s %s).\n",
pdu->msgid,