[SERVER-61453] Inserting large values in Simple8bBuilder after flush may crash Created: 12/Nov/21  Updated: 29/Oct/23  Resolved: 16/Nov/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.0

Type: Bug Priority: Major - P3
Reporter: Henrik Edin Assignee: Henrik Edin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2021-11-29
Participants:

 Description   

Simple8bBuilder::flush is not resetting isSelectorPossible which can cause a crash if we later attempt to store a value that needs 60 bits but the base selector is marked as unavailale.



 Comments   
Comment by Githook User [ 15/Nov/21 ]

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-61453 Fix crash in Simple8bBuilder when inserting large value after flush
Branch: master
https://github.com/mongodb/mongo/commit/8ccb0d3c12e36bea15bd35fc60bd95ab03baf58f

Generated at Thu Feb 08 05:52:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.