Details
-
Improvement
-
Status: Closed
-
Minor - P4
-
Resolution: Fixed
-
None
-
None
-
None
Description
Various bad things can happen to either the pure-Python BSON decoder or the C BSON decoder while decoding garbage. Make sure all are wrapped in InvalidBSON, while still making the underlying exception available so we can see it in customer's stack traces.