diff options
author | Takashi Yano <takashi.yano@nifty.ne.jp> | 2023-08-14 19:48:12 +0900 |
---|---|---|
committer | Takashi Yano <takashi.yano@nifty.ne.jp> | 2023-08-16 08:34:25 +0900 |
commit | efba30dd1d4cf3db6df7f7bc7ee13775c577f1a1 (patch) | |
tree | a587cfafc9c9eee0b17514134f20ae92eaee6f68 /etc | |
parent | d2354ee412391111f3cb7408a10d9a6af72fe048 (diff) | |
download | newlib-efba30dd1d4cf3db6df7f7bc7ee13775c577f1a1.zip newlib-efba30dd1d4cf3db6df7f7bc7ee13775c577f1a1.tar.gz newlib-efba30dd1d4cf3db6df7f7bc7ee13775c577f1a1.tar.bz2 |
Cygwin: pty: Add missing pinfo check in transfer_input().
The commit 10d083c745dd has a bug that lacks a check for pinfo pointer
value for master_pid. This causes segmentation fault if the process
whose pid is master_pid no longer exists. This patch fixes the issue.
Fixes: 10d083c745dd ("Cygwin: pty: Inherit typeahead data between two input pipes.")
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions