aboutsummaryrefslogtreecommitdiff
path: root/docs/code/default-loop
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2022-01-15 06:24:37 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2022-01-15 06:24:37 +0100
commite9cb18484ecdc10e005d306db53d099e06ade9f4 (patch)
tree066be70f5ed78b03af65b6d838c6e7d3d97048cb /docs/code/default-loop
parent2fbfa0358b3bb920ddd1c2747d4887b35b9ac161 (diff)
downloadlibuv-e9cb18484ecdc10e005d306db53d099e06ade9f4.tar.gz
libuv-e9cb18484ecdc10e005d306db53d099e06ade9f4.zip
unix: ensure struct msghdr is zeroed in recvmmsg (#3419)
With MUSL libc, the struct msghdr is padded to align with the types used in the Linux kernel headers (int vs size_t). When the padding was not zeroed, the syscall would return EMSGSIZE because the random bytes in the padding would be read by kernel as part of the size_t type. Fixes: https://github.com/libuv/libuv/issues/3416
Diffstat (limited to 'docs/code/default-loop')
0 files changed, 0 insertions, 0 deletions