[SERVER-45214] FieldParser::extractNumber fails ubsan for NaNs Created: 17/Dec/19 Updated: 29/Oct/23 Resolved: 22/Dec/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Geert Bosch | Assignee: | Geert Bosch |
| 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 | ||||
| Sprint: | Execution Team 2019-12-30 | ||||
| Participants: | |||||
| Linked BF Score: | 94 | ||||
| Description |
|
extractNumber does check the type of the BSONElement before extracting its value, but it does not defend against non-finite floating point numbers. |
| Comments |
| Comment by Githook User [ 22/Dec/19 ] |
|
Author: {'name': 'Geert Bosch', 'email': 'geert.bosch@mongodb.com', 'username': 'GeertBosch'}Message: |