aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/include/stdio_ext.h
diff options
context:
space:
mode:
authorKen Brown <kbrown@cornell.edu>2021-12-26 16:42:26 -0500
committerKen Brown <kbrown@cornell.edu>2021-12-26 18:29:23 -0500
commit0ce992c1e40f843d5f264e87908a6decfd6681d1 (patch)
tree4ed473575becd2bc74eff4e7e3a947b53363f6af /newlib/libc/include/stdio_ext.h
parent3328740799d7c229293f1fcbd26cbd1e4d268e70 (diff)
downloadnewlib-0ce992c1e40f843d5f264e87908a6decfd6681d1.zip
newlib-0ce992c1e40f843d5f264e87908a6decfd6681d1.tar.gz
newlib-0ce992c1e40f843d5f264e87908a6decfd6681d1.tar.bz2
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/libc/include/stdio_ext.h')
0 files changed, 0 insertions, 0 deletions