[SERVER-53141] op_msg_fuzzer does not setup DatabaseHolder Created: 01/Dec/20  Updated: 29/Oct/23  Resolved: 17/Dec/20

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

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

Issue Links:
Depends
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Service arch 2020-12-28
Participants:
Linked BF Score: 50

 Description   

This is causing a nullptr access here: https://github.com/mongodb/mongo/blob/1e6d0a856a9c9858552cdbdec889be14f4964b61/src/mongo/db/catalog_raii.cpp#L50

The op_msg_fuzzer does not setup the DatabaseHolder in its setup code: https://github.com/mongodb/mongo/blob/1e6d0a856a9c9858552cdbdec889be14f4964b61/src/mongo/db/op_msg_fuzzer.cpp#L64-L93



 Comments   
Comment by Githook User [ 17/Dec/20 ]

Author:

{'name': 'Ben Caimano', 'email': 'ben.caimano@10gen.com'}

Message: SERVER-53141 Initialize Catalog infrastructure in op_msg_fuzzer
Branch: master
https://github.com/mongodb/mongo/commit/f6abb42a511110023ceb130e45787ff881e7a2e9

Comment by Githook User [ 17/Dec/20 ]

Author:

{'name': 'Ben Caimano', 'email': 'ben.caimano@10gen.com'}

Message: SERVER-53141 Make a fixture for the op_msg_fuzzer
Branch: master
https://github.com/mongodb/mongo/commit/4c0bddd9e485e73402e692e881fe50cb6169ecbf

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