net-snmp 3.5.6 → 3.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +4 -0
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -3158,6 +3158,10 @@ Example programs are included under the module's `example` directory.
3158
3158
 
3159
3159
  * Fix GetNext OID calculation for off-tree OIDs
3160
3160
 
3161
+ ## Version 3.5.7 - 20/11/2021
3162
+
3163
+ * Fix handing of null varbinds in walk
3164
+
3161
3165
  # License
3162
3166
 
3163
3167
  Copyright (c) 2020 Mark Abrahams <mark@abrahams.co.nz>
package/index.js CHANGED
@@ -2642,7 +2642,7 @@ function walkCb (req, error, varbinds) {
2642
2642
  }
2643
2643
  }
2644
2644
 
2645
- if ( ! varbinds.length ) {
2645
+ if ( ! varbinds || ! varbinds.length ) {
2646
2646
  req.doneCb(null);
2647
2647
  return;
2648
2648
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "net-snmp",
3
- "version": "3.5.6",
3
+ "version": "3.5.7",
4
4
  "description": "JavaScript implementation of the Simple Network Management Protocol (SNMP)",
5
5
  "main": "index.js",
6
6
  "directories": {