[SERVER-57097] Text indexes with weights outside the range of representable values of type 'int' can cause undefined behaviour Created: 20/May/21 Updated: 29/Oct/23 Resolved: 26/May/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0-rc1, 5.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Gregory Wlodarek | Assignee: | Benety Goh |
| 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: |
v5.0
|
|||||||||
| Steps To Reproduce: | Run this against a UBSAN built mongod.
|
|||||||||
| Sprint: | Execution Team 2021-05-31 | |||||||||
| Participants: | ||||||||||
| Linked BF Score: | 43 | |||||||||
| Description |
|
The undefined behaviour sanitizer was trying to create text indexes with weights outside the range of representable values of 'int' here. |
| Comments |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] |
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! |
| Comment by Githook User [ 03/Jun/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: (cherry picked from commit 8e370ecd5f94b6c287084783c0ebe8c175a6993f) |
| Comment by Githook User [ 03/Jun/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: (cherry picked from commit 36f39383c0eaca644e38160dcb6dc8d783bdc040) |
| Comment by Githook User [ 26/May/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Githook User [ 25/May/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |