diff options
author | Ilya Etingof <etingof@gmail.com> | 2018-09-13 22:36:35 +0200 |
---|---|---|
committer | Ilya Etingof <etingof@gmail.com> | 2018-09-13 23:53:35 +0200 |
commit | 6e30bc0457fc1380f780ab4f66c48ce86dc1742b (patch) | |
tree | 9dc0bcdd1bc20905356fe735db33e3b68757e6d4 | |
parent | bdc0ac297759bfe4405056c5bcbe736ea9b29e48 (diff) | |
download | pysnmp-git-6e30bc0457fc1380f780ab4f66c48ce86dc1742b.tar.gz |
Release 4.4.6
-rw-r--r-- | CHANGES.txt | 8 | ||||
-rw-r--r-- | pysnmp/proto/rfc1902.py | 2 |
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) |