[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: |