SERVER-136203Open

potential null pointer dereference in listSessionsParseSpec() in MongoDB 8.0.9:

I found a potential null pointer dereference in {{listSessionsParseSpec()}} in MongoDB 8.0.9 The return value of {{Client::getCurrent()->getOperationContext()}} is passed to {{LogicalSessionCache::get()}} without a prior null check: {{uassert( 31111, str::stream() << "The " << DocumentSourceListLocalSessions::kStageName << " stage is not allowed in this context :: missing a LogicalSessionCache", LogicalSessionCache::get(Client::getCurrent()->getOperationCo

Affected Versions
Versions known to exhibit this issue
8.0.9
Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification
StaticCodeAnalsisqo-triage-week