[GODRIVER-421] Decoder should error for type-missmaches and overflows. Created: 23/May/18  Updated: 27/Oct/23  Resolved: 24/Jul/20

Status: Closed
Project: Go Driver
Component/s: BSON
Affects Version/s: 0.0.6
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Sam Kleinman (Inactive) Assignee: Unassigned
Resolution: Gone away Votes: 0
Labels: evg
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Currently, if a struct has a sized integer, and the value in the incoming document overflows that integer, the field is zero'd and there is no error.

Presumably other type missmaches should be handled.


Generated at Thu Feb 08 08:34:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.