diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2019-03-26 03:31:30 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2019-03-26 03:31:30 -0400 |
commit | f5bc578f4cdfdc6c708211dfc2962a0e9d79352d (patch) | |
tree | 7bf03f02d084f63f85daabcb1e8cb9b079a1201c /tests/libtest/lib1537.c | |
parent | 2bcdf722b8131f3d4bd433f46794e74154534604 (diff) |
tool_cb_wrt: fix writing to Windows null device NUL
- Improve console detection.
Prior to this change WriteConsole could be called to write to a handle
that may not be a console, which would cause an error. This issue is
limited to character devices that are not also consoles such as the null
device NUL.
Bug: https://github.com/curl/curl/issues/3175#issuecomment-439068724
Reported-by: Gisle Vanem
Diffstat (limited to 'tests/libtest/lib1537.c')
0 files changed, 0 insertions, 0 deletions