Commit Graph

1 Commits

Author SHA1 Message Date
fenner a0ed5dafbf Add net-snmp project (#1277)
* Initial infrastructure for net-snmp in the AutoFuzz project

* Add a fuzzer based on what Google sent us

Storing this here until we have a more complete design
for storing fuzzers in the net-snmp source tree.

* calloc PDU so we can use the standard pdu free, to avoid false leaks

* Only turn on debugging when $NETSNMP_DEBUGGING is set in the environment

The debugging is useful to help replicate the problem, but
not useful when simply running the fuzzer, so let the user
choose it by settng $NETSNMP_DEBUGGING in their environment
when running the replication.

* Add agentx_parse_fuzzer

* Build agentx_parse_fuzzer

* Add copyright notice, copy boilerplate from init

* Don't make a copy, just pass the data in directly.

(Also, don't use C++-style comment, the regression test
in the net-snmp codebase will be C.)
2018-03-29 07:13:49 -07:00