Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MFC r311750,r311754,r311757: | ngie | 2017-01-14 | 1 | -3/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | r311750: 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). Found with: gensnmpdef /usr/local/share/snmp/mibs/IPV6-TC.txt r311754: Use calloc instead of malloc + memset(.., 0, ..) r311757: 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 r310648: | ngie | 2016-12-31 | 1 | -10/+10 |
| | | | | style(9): clean up trailing whitespace | ||||
* | (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument. | antoine | 2010-03-27 | 1 | -1/+1 |
| | | | | | | | Fix some wrong usages. Note: this does not affect generated binaries as this argument is not used. Approved by: harti@ | ||||
* | Vendor patch: add support for the BITS construct and enumerations in both | harti | 2006-05-30 | 1 | -9/+163 |
| | | | | | | gensnmpdef and gensnmptree. Add include and typedef directives to gensnmptree. Submitted by: soc-sheryana (partly) | ||||
* | Virgin import of bsnmpd 1.7 | harti | 2004-08-06 | 1 | -28/+24 |
| | |||||
* | Import of bsnmpd 1.6 | harti | 2004-04-14 | 1 | -0/+433 |