libuv/src
Ben Noordhuis 1ce6393a57
unix: don't attempt to invalidate invalid fd
Add a missing check in uv__io_close() where it called
uv__platform_invalidate_fd() without checking that the
watcher actually has a valid file descriptor assigned.

Fixes: https://github.com/libuv/libuv/issues/2181
PR-URL: https://github.com/libuv/libuv/pull/2182
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2019-02-10 10:11:19 -05:00
..
unix unix: don't attempt to invalidate invalid fd 2019-02-10 10:11:19 -05:00
win win: fix duplicate tty vt100 fn key 2019-02-10 10:04:18 -05:00
fs-poll.c unix,win: merge handle flags 2018-06-29 22:24:52 +02:00
heap-inl.h heap: fix heap_remove() 2014-05-23 20:04:42 +04:00
idna.c unix,win: support IDNA 2008 in uv_getaddrinfo() 2018-10-30 20:50:23 +01:00
idna.h unix,win: support IDNA 2008 in uv_getaddrinfo() 2018-10-30 20:50:23 +01:00
inet.c unix: harden string copying, introduce strscpy() 2018-12-04 17:08:09 +01:00
queue.h unix: use QUEUE_MOVE when iterating over lists 2015-10-08 21:47:43 +02:00
strscpy.c unix: harden string copying, introduce strscpy() 2018-12-04 17:08:09 +01:00
strscpy.h unix: harden string copying, introduce strscpy() 2018-12-04 17:08:09 +01:00
threadpool.c unix,win: fix threadpool race condition 2018-10-07 15:50:57 -07:00
timer.c warnings: fix code that emits compiler warnings 2018-11-29 11:21:44 -05:00
uv-common.c unix: harden string copying, introduce strscpy() 2018-12-04 17:08:09 +01:00
uv-common.h unix: harden string copying, introduce strscpy() 2018-12-04 17:08:09 +01:00
uv-data-getter-setters.c warnings: fix code that emits compiler warnings 2018-11-29 11:21:44 -05:00
version.c core: add UV_VERSION_HEX macro 2015-06-29 23:08:41 +02:00