mirror of https://github.com/mongodb/mongo
SERVER-114819 Fix uninitialized pointer read (#45208)
GitOrigin-RevId: b6431614e5b5f097b25cafa8b71471139adbd459
This commit is contained in:
parent
53adb17228
commit
e5d1688374
|
|
@ -115,7 +115,7 @@ void ExecAggStageHandle::close() {
|
|||
|
||||
BSONObj ExecAggStageHandle::explain(mongo::ExplainOptions::Verbosity verbosity) const {
|
||||
assertValid();
|
||||
::MongoExtensionByteBuf* buf;
|
||||
::MongoExtensionByteBuf* buf{nullptr};
|
||||
auto extVerbosity = convertHostVerbosityToExtVerbosity(verbosity);
|
||||
invokeCAndConvertStatusToException(
|
||||
[&]() { return vtable().explain(get(), extVerbosity, &buf); });
|
||||
|
|
|
|||
Loading…
Reference in New Issue