ngie
1cac8b6d8e
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
ngie
2d9c057b51
Use calloc instead of malloc + memset(.., 0, ..)
...
MFC after: 5 days
2017-01-09 06:03:49 +00:00
ngie
3ac44fec5a
Check result from smiGetFirstNode and smiGetNodeByOID
...
This avoids a segfault with malformed or unanticipated files,
like IPV6-TC.txt (a file containing just TEXTUAL-CONVENTIONS).
MFC after: 5 days
Found with: gensnmpdef /usr/local/share/snmp/mibs/IPV6-TC.txt
2017-01-09 05:51:38 +00:00
ngie
6a228a1b19
style(9): clean up trailing whitespace
...
MFC after: 3 weeks
2016-12-27 23:32:54 +00:00
uqs
e5ed83efa9
mdoc: consistently spell our email addresses <foo@FreeBSD.org>
...
Reviewed by: ru
Approved by: harti
2010-05-24 06:26:38 +00:00
antoine
157223c604
(S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.
...
Fix some wrong usages.
Note: this does not affect generated binaries as this argument is not used.
Approved by: harti@
2010-03-27 13:43:18 +00:00
harti
934871b0b1
This commit was generated by cvs2svn to compensate for changes in r159063,
...
which included commits to RCS files with non-trunk default branches.
2006-05-30 07:46:52 +00:00
harti
f467eea07a
Vendor patch: add support for the BITS construct and enumerations in both
...
gensnmpdef and gensnmptree. Add include and typedef directives to gensnmptree.
Submitted by: soc-sheryana (partly)
2006-05-30 07:46:52 +00:00
harti
c45e21ccca
These files are not needed and were imported by accident in the
...
previous import.
2005-10-04 14:51:55 +00:00
harti
efb2dfa177
Virgin import of bsnmpd 1.11
2005-10-04 14:41:06 +00:00
harti
273b7adb85
Virgin import of bsnmpd 1.8
2005-02-28 17:27:11 +00:00
harti
d6d162437d
Virgin import of bsnmpd 1.7
2004-08-06 13:38:30 +00:00
harti
2dce00c891
Import of bsnmpd 1.6
2004-04-14 16:20:14 +00:00