[JAVA-2362] Should throw an exception if a one byte BSON string is not properly null-terminated Created: 14/Oct/16 Updated: 19/Oct/16 Resolved: 17/Oct/16 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | BSON |
| Affects Version/s: | None |
| 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 |
|
Currently the driver ignores the value of the byte rather than checking that it's 0. This change will detect the corrupt BSON and throw an exception instead. |
| 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: |