[SERVER-69005] $internalBoundedSort should not accept empty sort pattern Created: 19/Aug/22 Updated: 29/Oct/23 Resolved: 12/Sep/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0, 6.0.2, 6.2.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Matt Boros | Assignee: | Matt Boros |
| 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.1, v6.0
|
||||||||
| Sprint: | QO 2022-08-22, QO 2022-09-05, QO 2022-09-19 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 18 | ||||||||
| Description |
|
The jstestfuzz fuzzer crashed the server when handing the $internalBoundedSort stage an empty sort pattern. We don't have an assertion for non-emptiness so we should add one |
| Comments |
| Comment by Githook User [ 20/Sep/22 ] |
|
Author: {'name': 'Matt Boros', 'email': 'matt.boros@mongodb.com', 'username': 'mattBoros'}Message: (cherry picked from commit a14ebbf41e0ae4346e806e1ac5d7a3fdaa42d529) |
| Comment by Githook User [ 20/Sep/22 ] |
|
Author: {'name': 'Matt Boros', 'email': 'matt.boros@mongodb.com', 'username': 'mattBoros'}Message: (cherry picked from commit a14ebbf41e0ae4346e806e1ac5d7a3fdaa42d529) |
| Comment by Githook User [ 12/Sep/22 ] |
|
Author: {'name': 'Matt Boros', 'email': 'matt.boros@mongodb.com', 'username': 'mattBoros'}Message: |
| Comment by Matt Boros [ 12/Sep/22 ] |
|
Renaming this ticket to be more accurate, since we've decided to take a different approach |