[SERVER-81045] mongo::sbe::value::deserializeValue doesn't initialize value for Nothing type Created: 13/Sep/23  Updated: 29/Oct/23  Resolved: 14/Sep/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

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

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 135

 Description   

mongo::sbe::value::deserializeValue doesn't initialize value for Nothing type, resulting in nondeterministic value returned. 

This triggers poison debug assert (false positive) if the value happens to be -1.



 Comments   
Comment by Githook User [ 14/Sep/23 ]

Author:

{'name': 'Anna Wawrzyniak', 'email': 'anna.wawrzyniak@mongodb.com', 'username': 'anna-wawrzyniak'}

Message: SERVER-81045 Fixed sbe::value::deserializeValue to deterministically initialize Nothing value
Branch: master
https://github.com/mongodb/mongo/commit/bc55cfd7e56684af9402e71a539201b0d07f480c

Generated at Thu Feb 08 06:45:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.