fix issue2858: potential memory corruption when any of the bsddb.db.*
constructors raised an exception. backportes from trunk c63403.
diff --git a/Misc/NEWS b/Misc/NEWS
index e53f02b..f7d7327 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -89,6 +89,9 @@
- zlib.decompressobj().flush(value) no longer crashes the interpreter when
passed a value less than or equal to zero.
+- issue2858: Fix potential memory corruption when bsddb.db.DBEnv.lock_get
+ and other bsddb.db object constructors raised an exception.
+
Tests
-----