diff options
author | Ken Brown <kbrown@cornell.edu> | 2021-12-27 00:42:26 +0300 |
---|---|---|
committer | Ken Brown <kbrown@cornell.edu> | 2021-12-27 02:29:23 +0300 |
commit | 0ce992c1e40f843d5f264e87908a6decfd6681d1 (patch) | |
tree | 4ed473575becd2bc74eff4e7e3a947b53363f6af /newlib/acinclude.m4 | |
parent | 3328740799d7c229293f1fcbd26cbd1e4d268e70 (diff) |
Cygwin: fhandler_pipe::get_query_hdl_per_process: avoid a crash
NtQueryInformationProcess(ProcessHandleInformation) can return
STATUS_SUCCESS with invalid handle data for certain processes
("minimal" processes on Windows 10). This can cause a crash when
there's an attempt to access that data. Fix that by setting
NumberOfHandles to zero before calling NtQueryInformationProcess.
Addresses: https://cygwin.com/pipermail/cygwin-patches/2021q4/011611.html
Diffstat (limited to 'newlib/acinclude.m4')
0 files changed, 0 insertions, 0 deletions