mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-26 17:17:20 +08:00
0ce992c1e4
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
20 lines
872 B
Groff
20 lines
872 B
Groff
Bug Fixes
|
|
---------
|
|
|
|
- Fix a bug in fhandler_dev_clipboard::read() that the second read
|
|
fails with 'Bad address'.
|
|
Addresses: https://cygwin.com/pipermail/cygwin/2021-December/250141.html
|
|
|
|
- Convert UNC path prefix back to drive letter in symlink_info::check().
|
|
This solves the following issues:
|
|
Addresses: https://cygwin.com/pipermail/cygwin/2021-November/250087.html
|
|
https://cygwin.com/pipermail/cygwin/2021-December/250103.html
|
|
|
|
- Fix a bug in pty code that input is wrongly sent to io_handle_nat
|
|
rather than io_handle while neither read() nor select() is called
|
|
after the cygwin app is started from non-cygwin app.
|
|
Addresses: https://cygwin.com/pipermail/cygwin-patches/2021q4/011587.html
|
|
|
|
- Avoid a crash when NtQueryInformationProcess returns invalid handle data.
|
|
Addresses: https://cygwin.com/pipermail/cygwin-patches/2021q4/011611.html
|