Skip to content

Commit ca918f8

Browse files
committed
testing/fuzzing/snmp_agent_e2e_fuzzer: Change a numeric constant into a symbolic name
1 parent 2ee581b commit ca918f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

testing/fuzzing/snmp_agent_e2e_fuzzer.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ LLVMFuzzerTestOneInput(const uint8_t * data, size_t size)
115115
netsnmp_session sess = { };
116116
netsnmp_agent_session *vals =
117117
init_agent_snmp_session(&sess, pdu);
118-
handle_snmp_packet(1, &sess, 0, pdu, vals);
118+
handle_snmp_packet(NETSNMP_CALLBACK_OP_RECEIVED_MESSAGE, &sess, 0,
119+
pdu, vals);
119120
snmp_free_pdu(pdu);
120121
free_agent_snmp_session(vals);
121122

0 commit comments

Comments
 (0)