libuv/src/unix
Ben Noordhuis bf52579f92 unix: only undo fs req registration in async mode
Commit 0199955 ("fs: undo uv__req_init when uv__malloc failed")
mistakingly unregisters the requests unconditionally in a few places,
resulting in memory corruption when it hasn't been registered first.

Fixes: https://github.com/libuv/libuv/pull/543
PR-URL: https://github.com/libuv/libuv/pull/567
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
2015-10-09 21:35:13 +02:00
..
aix.c aix: fix uv_exepath with relative paths 2015-07-30 23:31:36 +02:00
android-ifaddrs.c core: add ability to customize memory allocator 2015-06-02 12:05:20 +02:00
async.c unix: use QUEUE_MOVE when iterating over lists 2015-10-08 21:47:43 +02:00
atomic-ops.h unix: Support atomic compare & swap xlC on AIX 2015-09-11 18:00:33 +02:00
core.c src: replace QUEUE_SPLIT with QUEUE_MOVE 2015-10-08 21:46:48 +02:00
darwin-proctitle.c unix: fix long line introduced in commit 94e628fa 2015-01-21 13:04:50 +01:00
darwin.c unix: fix memory leak in uv_interface_addresses 2015-09-23 08:16:20 +02:00
dl.c core: add ability to customize memory allocator 2015-06-02 12:05:20 +02:00
freebsd.c unix: fix memory leak in uv_interface_addresses 2015-09-23 08:16:20 +02:00
fs.c unix: only undo fs req registration in async mode 2015-10-09 21:35:13 +02:00
fsevents.c src: replace QUEUE_SPLIT with QUEUE_MOVE 2015-10-08 21:46:48 +02:00
getaddrinfo.c core: add ability to customize memory allocator 2015-06-02 12:05:20 +02:00
getnameinfo.c unix, win: add synchronous uv_get{addr,name}info 2015-01-23 01:12:05 +01:00
internal.h Revert "stream: squelch ECONNRESET error if already closed" 2015-08-07 14:19:08 +02:00
kqueue.c Revert "stream: squelch ECONNRESET error if already closed" 2015-08-07 14:19:08 +02:00
linux-core.c unix: fix memory leak in uv_interface_addresses 2015-09-23 08:16:20 +02:00
linux-inotify.c unix: use QUEUE_MOVE when iterating over lists 2015-10-08 21:47:43 +02:00
linux-syscalls.c linux: intercept syscall when running under memory sanitizer 2015-05-05 10:26:20 +02:00
linux-syscalls.h Revert "stream: squelch ECONNRESET error if already closed" 2015-08-07 14:19:08 +02:00
loop-watcher.c unix: use QUEUE_MOVE when iterating over lists 2015-10-08 21:47:43 +02:00
loop.c unix, win: make uv_loop_init return on error 2015-08-20 17:39:21 +02:00
netbsd.c unix: fix memory leak in uv_interface_addresses 2015-09-23 08:16:20 +02:00
openbsd.c unix: fix memory leak in uv_interface_addresses 2015-09-23 08:16:20 +02:00
pipe.c core: add ability to customize memory allocator 2015-06-02 12:05:20 +02:00
poll.c Revert "stream: squelch ECONNRESET error if already closed" 2015-08-07 14:19:08 +02:00
process.c unix: fix error check when closing process pipe fd 2015-09-07 13:33:27 +02:00
proctitle.c core: add ability to customize memory allocator 2015-06-02 12:05:20 +02:00
pthread-fixes.c android: add missing include to pthread-fixes.c 2015-07-15 10:18:52 +02:00
signal.c unix: use QUEUE_MOVE when iterating over lists 2015-10-08 21:47:43 +02:00
spinlock.h unix: add spinlock.h 2013-10-20 13:58:34 +02:00
stream.c unix: squelch harmless valgrind warning 2015-10-08 21:47:45 +02:00
sunos.c unix: fix memory leak in uv_interface_addresses 2015-09-23 08:16:20 +02:00
tcp.c unix: consolidate tcp and udp bind error 2015-06-28 11:53:52 +02:00
thread.c unix, win: consolidate mutex trylock errors 2015-09-22 00:08:05 +02:00
timer.c unix, windows: don't allow a NULL callback on timers 2014-09-05 16:59:18 +02:00
tty.c unix: make uv_guess_handle work properly for AIX 2015-09-23 16:09:07 +02:00
udp.c unix: fix request handle leak in uv__udp_send 2015-10-07 15:12:26 +02:00