libuv/src/unix
Ben Noordhuis 43b456dcb3 unix: fully initialize struct msghdr
Commit 3d713663 ("freebsd,linux: add recvmmsg() + sendmmsg() udp
implementation") forgot to zero some of the members of the msghdr
struct. It seems to work by accident, not by design.

PR-URL: https://github.com/libuv/libuv/pull/2819
Refs: https://github.com/libuv/libuv/pull/2818
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
2020-04-28 23:10:34 +02:00
..
aix-common.c ibmi: implement uv_interface_addresses() 2020-01-21 09:32:11 +01:00
aix.c unix,win: add uv_library_shutdown() 2020-04-22 12:24:36 +02:00
android-ifaddrs.c android: fix OOB write in uv_interface_addresses() 2020-04-06 12:48:32 +02:00
async.c unix: yield cpu when spinlocking on async handle 2020-04-22 12:28:13 +02:00
atomic-ops.h unix: implement cpu_relax() for arm 2020-04-14 15:30:30 +02:00
bsd-ifaddrs.c build: fix build warning on cygwin 2019-10-04 23:54:06 +02:00
bsd-proctitle.c unix,win: add uv_library_shutdown() 2020-04-22 12:24:36 +02:00
core.c unix: fix compilation on macOS 32-bit architectures 2020-04-14 20:38:35 -04:00
cygwin.c src: move uv_free_cpu_info to uv-common.c 2019-08-19 23:01:17 +02:00
darwin-proctitle.c darwin: fix build with non-apple compilers 2020-04-28 20:07:59 +02:00
darwin-stub.h darwin: fix build with non-apple compilers 2020-04-28 20:07:59 +02:00
darwin.c unix: pass sysctl size arg using ARRAY_SIZE macro 2019-12-16 15:55:59 +01:00
dl.c
freebsd.c freebsd,linux: add recvmmsg() + sendmmsg() udp implementation 2020-02-20 11:52:54 +01:00
fs.c fs: add uv_fs_lutime() 2020-04-14 10:06:33 +02:00
fsevents.c darwin: fix build with non-apple compilers 2020-04-28 20:07:59 +02:00
getaddrinfo.c test,sunos: fix statement not reached warnings 2019-03-16 13:22:16 -04:00
getnameinfo.c unix,win: limit concurrent DNS calls to nthreads/2 2018-08-21 10:48:24 +02:00
haiku.c src: move uv_free_cpu_info to uv-common.c 2019-08-19 23:01:17 +02:00
ibmi.c ibmi: set the amount of memory in use to zero 2020-03-10 11:00:03 +01:00
internal.h unix,win: add uv_library_shutdown() 2020-04-22 12:24:36 +02:00
kqueue.c fsevents: stop using fsevents to watch files 2019-09-26 16:01:27 +02:00
linux-core.c linux: make cpu_times consistently be milliseconds 2020-04-22 10:46:07 +02:00
linux-inotify.c linux: assume the presence of inotify system calls 2020-02-04 16:36:59 +01:00
linux-syscalls.c freebsd,linux: add recvmmsg() + sendmmsg() udp implementation 2020-02-20 11:52:54 +01:00
linux-syscalls.h freebsd,linux: add recvmmsg() + sendmmsg() udp implementation 2020-02-20 11:52:54 +01:00
loop-watcher.c include,src: introduce UV__ERR() macro 2018-02-08 22:38:02 -05:00
loop.c unix,win: merge handle flags 2018-06-29 22:24:52 +02:00
netbsd.c unix: pass sysctl size arg using ARRAY_SIZE macro 2019-12-16 15:55:59 +01:00
no-fsevents.c include,src: introduce UV__ERR() macro 2018-02-08 22:38:02 -05:00
no-proctitle.c unix,win: add uv_library_shutdown() 2020-04-22 12:24:36 +02:00
openbsd.c src: add uv__reallocf() 2020-03-15 10:00:15 -04:00
os390-syscalls.c zos: fix return value on expired nanosleep() call 2020-03-24 09:33:58 -04:00
os390-syscalls.h zos: fix non-Release builds 2020-03-24 09:33:47 -04:00
os390.c zos: explicitly mark message queue events 2020-03-15 11:31:21 +01:00
pipe.c pipe: disallow listening on an IPC pipe 2020-01-31 11:09:16 +01:00
poll.c unix: catch some cases of watching fd twice 2018-05-30 13:24:19 +02:00
posix-hrtime.c
posix-poll.c src: add uv__reallocf() 2020-03-15 10:00:15 -04:00
process.c unix: fix error handling in uv__make_pipe() 2020-02-04 16:36:59 +01:00
procfs-exepath.c include,src: introduce UV__ERR() macro 2018-02-08 22:38:02 -05:00
proctitle.c unix,win: add uv_library_shutdown() 2020-04-22 12:24:36 +02:00
pthread-fixes.c
random-devurandom.c unix: handle uv__open_cloexec return value correctly 2020-01-21 20:02:56 +01:00
random-getentropy.c unix,win: add uv_random() 2019-09-18 08:09:14 +02:00
random-getrandom.c unix,win: add uv_random() 2019-09-18 08:09:14 +02:00
random-sysctl-linux.c netbsd: use KERN_ARND sysctl to get entropy 2019-10-29 13:36:05 +01:00
signal.c unix,win: add uv_library_shutdown() 2020-04-22 12:24:36 +02:00
spinlock.h
stream.c Revert "aix: replace ECONNRESET with EOF if already closed" 2020-01-21 12:36:11 -05:00
sunos.c src: move uv_free_cpu_info to uv-common.c 2019-08-19 23:01:17 +02:00
sysinfo-loadavg.c unix: factor out reusable sysinfo loadavg impl 2017-05-21 16:12:16 +02:00
sysinfo-memory.c unix: factor out reusable sysinfo memory lookup 2017-05-21 16:12:14 +02:00
tcp.c unix: make uv_tcp_keepalive predictable 2020-02-07 22:52:45 +01:00
thread.c build: fix compile error with uClibc 2019-07-02 11:58:15 +02:00
tty.c ibmi: Fix isatty EBADF handling and refactor 2020-04-06 05:58:34 -04:00
udp.c unix: fully initialize struct msghdr 2020-04-28 23:10:34 +02:00