[SERVER-62320] (v4.2) Fix use after std::move in find command Created: 30/Dec/21  Updated: 29/Oct/23  Resolved: 04/Jan/22

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

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

Issue Links:
Problem/Incident
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2022-01-10
Participants:

 Description   

A recent backport (BACKPORT-11015) uses  this parsedNss that is std::move'd afterwards here which isn't safe.



 Comments   
Comment by Githook User [ 04/Jan/22 ]

Author:

{'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}

Message: SERVER-62320 Fix use after std::move in find command
Branch: v4.2
https://github.com/mongodb/mongo/commit/26a9a04d33ae06fd9ffc5822b685ccea84c3530e

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