summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2018-09-13 22:36:35 +0200
committerIlya Etingof <etingof@gmail.com>2018-09-13 23:53:35 +0200
commit6e30bc0457fc1380f780ab4f66c48ce86dc1742b (patch)
tree9dc0bcdd1bc20905356fe735db33e3b68757e6d4
parentbdc0ac297759bfe4405056c5bcbe736ea9b29e48 (diff)
downloadpysnmp-git-6e30bc0457fc1380f780ab4f66c48ce86dc1742b.tar.gz
Release 4.4.6
-rw-r--r--CHANGES.txt8
-rw-r--r--pysnmp/proto/rfc1902.py2
2 files changed, 7 insertions, 3 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index b340986a..f017c0a8 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,5 +1,5 @@
-Revision 5.0.0, released 2018-09-??
+Revision 5.0.0, released 2018-10-??
-----------------------------------
- SNMPv3 crypto operations that require external dependencies
@@ -46,7 +46,7 @@ Revision 5.0.0, released 2018-09-??
is to unify this method call with similar methods of CommandGenerator.
This change should not compromise backward compatibility with pysnmp 4.
-Revision 4.4.6, released 2018-09-XX
+Revision 4.4.6, released 2018-09-13
-----------------------------------
- Improved package build and dependency tracking
@@ -56,6 +56,10 @@ Revision 4.4.6, released 2018-09-XX
would fail.
- Fix to tolerate possible duplicate enumerations in `Bits` and `Integer`
SMI types.
+- Fix to tolerate non-initialised entries in SNMP community table. Once a
+ bad entry sneaked into the SNMP community table, all the subsequent
+ SNMP v1/v2c operations failed. The fix ignores incomplete SNMP community
+ table entries in the course of building indices.
Revision 4.4.5, released 2018-08-05
-----------------------------------
diff --git a/pysnmp/proto/rfc1902.py b/pysnmp/proto/rfc1902.py
index ee82ef5a..3caa81d7 100644
--- a/pysnmp/proto/rfc1902.py
+++ b/pysnmp/proto/rfc1902.py
@@ -605,7 +605,7 @@ class Bits(OctetString):
def __new__(cls, *args, **kwargs):
if 'namedValues' in kwargs:
- Bits = cls.withNamedBits(**kwargs.pop('namedValues'))
+ Bits = cls.withNamedBits(**dict(kwargs.pop('namedValues')))
return Bits(*args, **kwargs)
return OctetString.__new__(cls)