freebsd-dev/contrib/bsnmp/gensnmpdef
Enji Cooper b55d259a14 Similar to r311750, check for the result from smiGetModule to avoid a segfault
when dereferencing a NULL pointer later on.

Choose to just check for the NULL pointer in the next for-loop for now to fix
the issue with a minimal amount of code churn

sys/queue.h use here would make more sense than using a static table

MFC after:	5 days
2017-01-09 06:13:27 +00:00
..
gensnmpdef.1 style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
gensnmpdef.c Similar to r311750, check for the result from smiGetModule to avoid a segfault 2017-01-09 06:13:27 +00:00