]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: pty: Fix potential handle leak regarding CallNamedPipe().
authorTakashi Yano <takashi.yano@nifty.ne.jp>
Tue, 13 Feb 2024 02:36:05 +0000 (11:36 +0900)
committerTakashi Yano <takashi.yano@nifty.ne.jp>
Tue, 13 Feb 2024 14:36:23 +0000 (23:36 +0900)
commit73cd80c976e1bc4af5f63c02be94a112dd2cfecc
tree85fc23866505b3c4bdc1320d700573e10fe7bec0
parenta6ac7b413891b9fa4fce58bb1fb4729798b7c8a1
Cygwin: pty: Fix potential handle leak regarding CallNamedPipe().

In pty master_thread, 6 handles are duplicated when CallNamedPipe()
requests that. Though some of them are not used so should be closed,
they were not. This causes handle leak potentially.

Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
winsup/cygwin/fhandler/pty.cc
This page took 0.031027 seconds and 5 git commands to generate.