4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-23 23:47:22 +08:00
Ken Brown 0ce992c1e4 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
2021-12-26 18:29:23 -05:00
..
2020-05-30 19:41:18 +02:00
2021-11-15 19:32:23 -05:00
2021-11-10 20:16:15 -05:00
2021-08-02 13:57:03 +02:00
2021-04-27 16:49:56 +01:00
2016-06-25 00:43:01 +02:00
2021-11-15 19:32:23 -05:00
2021-02-01 09:55:08 -05:00
2021-02-01 09:55:08 -05:00
2021-10-26 18:47:22 +02:00
2020-10-18 14:55:13 +01:00
2021-06-26 15:24:27 +01:00
2021-10-26 18:47:22 +02:00
2021-10-26 18:47:22 +02:00
2017-03-27 22:03:58 +01:00
2015-08-17 11:05:43 +02:00
2020-08-28 11:10:48 +02:00
2021-07-29 17:13:47 +02:00
2018-04-16 22:46:11 -05:00
2021-08-23 19:36:10 +02:00
2019-06-25 15:44:43 -04:00
2019-06-25 15:44:43 -04:00