Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-421

Decoder should error for type-missmaches and overflows.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • 0.0.6
    • BSON

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sam.kleinman Sam Kleinman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: