[SERVER-68715] NaN issues in Check/Wait pid in mongoshell Created: 10/Aug/22  Updated: 29/Oct/23  Resolved: 11/Aug/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 6.0.0, 4.4.15, 4.2.21, 5.0.10
Fix Version/s: 6.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Alex Neben Assignee: Alex Neben
Resolution: Fixed Votes: 0
Labels: dp-qol
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-68309 Investigate for unsafe narrowing conv... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

 

mongo::shell_utils::<CheckProgram, WaitProgram> : pid Interpreting NaN as an int PID means we might checkProgram or waitProgram on a valid PID for a system process (0) rather than a likely non-existent PID (int::min)


 Comments   
Comment by Githook User [ 11/Aug/22 ]

Author:

{'name': 'Alexander Neben', 'email': 'alexander.neben@mongodb.com', 'username': 'IamXander'}

Message: SERVER-68715 Fixed shell NaN PID possibility
Branch: master
https://github.com/mongodb/mongo/commit/cc2f429089d80265ef2bbcd423462f4674e3df4f

Generated at Thu Feb 08 06:11:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.