[SERVER-60883] Large RLE counts are not encoded correctly in Simple8b Created: 21/Oct/21 Updated: 29/Oct/23 Resolved: 21/Oct/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Henrik Edin | Assignee: | Henrik Edin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Execution Team 2021-11-01 |
| Participants: |
| Description |
|
There is a uint8 that overflows when the count is over 30600: https://github.com/mongodb/mongo/blob/19cf54eb17cf933dfabf5a553660d93319e51713/src/mongo/bson/util/simple8b.cpp#L595 |
| Comments |
| Comment by Githook User [ 21/Oct/21 ] |
|
Author: {'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}Message: |