[JAVA-2361] Should check for inconsistent sizes when decoding the OldBinary subtype of Binary Created: 14/Oct/16  Updated: 19/Oct/16  Resolved: 17/Oct/16

Status: Closed
Project: Java Driver
Component/s: BSON
Affects Version/s: 3.0.0
Fix Version/s: 3.5.0

Type: Bug Priority: Trivial - P5
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The deprecated old binary subtype encodes the size of the binary twice. The driver should throw an exception of the sizes don't match.



 Comments   
Comment by Githook User [ 17/Oct/16 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-2361: Check for inconsistent sizes when decoding the OldBinary subtype of Binary
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/3606a3394bad810ffec616368e679568b1b043df

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