]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: console: Prevent NULL pointer access in close().
authorTakashi Yano via Cygwin-patches <cygwin-patches@cygwin.com>
Mon, 22 Feb 2021 13:30:17 +0000 (22:30 +0900)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 22 Feb 2021 13:57:57 +0000 (14:57 +0100)
commit6cde7279a00452ed1ccc0ffc39d9011b016fadb3
tree32881f4f58bd8c6834d1267c58efc87f1d0204ee
parent18b91fbe580e747edf0f7ef8edbec4df07bc7245
Cygwin: console: Prevent NULL pointer access in close().

- There seems to be a case that shared_console_info is not set yet
  when close() is called. This patch adds guard for such case.
winsup/cygwin/fhandler_console.cc
This page took 0.031625 seconds and 5 git commands to generate.