[SERVER-41467] Integer overflow can trigger invariant during update in mongos Created: 03/Jun/19 Updated: 29/Oct/23 Resolved: 16/Sep/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Randolph Tan | Assignee: | Randolph Tan |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | sharding-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | Sharding 2019-07-15, Sharding 2019-07-29, Sharding 2019-08-12, Sharding 2019-08-26, Sharding 2019-09-23 | ||||
| Participants: | |||||
| Case: | (copied to CRM) | ||||
| Description |
|
"n" is long long, but gets assigned to an int, under right circumstances, a number that big enough and doesn't fit int can be interpreted as a negative number and trigger this invariant: |
| Comments |
| Comment by Githook User [ 14/Sep/19 ] |
|
Author: {'name': 'Randolph Tan', 'email': 'randolph@mongodb.com'}Message: |