[SERVER-42110] uassert that the integer part of a v0 numeric KeyString value is less than 2^^53 Created: 08/Jul/19 Updated: 29/Oct/23 Resolved: 25/Jul/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.0-rc5, 4.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Louis Williams |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | execution_intern_2019 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v4.2
|
||||||||
| Sprint: | Execution Team 2019-07-29 | ||||||||
| Participants: | |||||||||
| Description |
|
It would never be legally encoded that the integerPart of a KeyString v0 numeric type uses more than 52 bits and also has a fractional part. Uassert that integerPart is strictly less than 2^^53 (i.e. has no more than 52 bits of precision) if it also has a fractional part. |
| Comments |
| Comment by Githook User [ 26/Jul/19 ] |
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: (cherry picked from commit f60d85ed3082778dd4bacd9f555648215cce7d48) |
| Comment by Githook User [ 25/Jul/19 ] |
|
Author: {'name': 'Louis Williams', 'username': 'louiswilliams', 'email': 'louis.williams@mongodb.com'}Message: |