[SERVER-71387] Range-based window [+N, unbounded] can tassert Created: 15/Nov/22 Updated: 29/Oct/23 Resolved: 06/Jan/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0-rc0, 6.0.7, 5.0.19 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | David Percy | Assignee: | David Percy |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v6.2, v6.0, v5.0
|
||||||||
| Participants: | |||||||||
| Linked BF Score: | 0 | ||||||||
| Description |
|
Background: In setWindowFields, you can use window: {range: [lower, upper]} to define a window in terms of the values in the collection. We only support numbers and dates. If setWindowFields finds a value with the wrong type, it uasserts. However, our fuzzer found a case where it tasserts instead of uasserts. If the range is [+N, unbounded], and the input has an unexpected type, we can tassert when computing the right endpoint for the 'unbounded' part. |
| Comments |
| Comment by Githook User [ 17/May/23 ] | ||||||||||||||
|
Author: {'name': 'David Percy', 'email': 'david.percy@mongodb.com', 'username': 'dpercy'}Message: | ||||||||||||||
| Comment by Githook User [ 17/May/23 ] | ||||||||||||||
|
Author: {'name': 'David Percy', 'email': 'david.percy@mongodb.com', 'username': 'dpercy'}Message: | ||||||||||||||
| Comment by Githook User [ 06/Jan/23 ] | ||||||||||||||
|
Author: {'name': 'David Percy', 'email': 'david.percy@mongodb.com', 'username': 'dpercy'}Message: | ||||||||||||||
| Comment by David Percy [ 15/Nov/22 ] | ||||||||||||||
|