Bug 7893 - client can misdetect that ssh has terminated on Windows
Summary: client can misdetect that ssh has terminated on Windows
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Client (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-14 12:49 CEST by Pierre Ossman
Modified: 2022-04-19 12:41 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2022-04-14 12:49:12 CEST
We check if ssh is still alive by using WaitForSingleObject(). However, we don't properly check for errors here, assuming that anything except WAIT_TIMEOUT means it has terminated.

It is unlikely that WaitForSingleObject() ever returns an error, but it can apparently happen, as we've got a user report with this.

Note You need to log in before you can comment on or make changes to this bug.