[SERVER-54068] Fix use-after-move bug in getExecutorForSimpleDistinct() Created: 27/Jan/21  Updated: 29/Oct/23  Resolved: 03/Feb/21

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

Type: Bug Priority: Major - P3
Reporter: Drew Paroski Assignee: Drew Paroski
Resolution: Fixed Votes: 0
Labels: qexec-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

I recently encountered a use-after-move bug in getExecutorForSimpleDistinct() that can happen when "logComponentVerbosity={query:5}" is set.

The goal of this task is to fix the use-after-move bug in getExecutorForSimpleDistinct().



 Comments   
Comment by Githook User [ 03/Feb/21 ]

Author:

{'name': 'Drew Paroski', 'email': 'drew.paroski@mongodb.com', 'username': 'paroski'}

Message: SERVER-54068 Fix use-after-move bug in getExecutorForSimpleDistinct()
Branch: master
https://github.com/mongodb/mongo/commit/ea7312e7a4e265ab267e2c147110484ad31b09d9

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