curl/lib/vquic
Stefan Eissing 8135d420ee
ngtcp2: avoid supplying 0 length msg_control to sendmsg()
Testing on macOS 12.4, sendmsg() fails with EINVAL when a msg_control
buffer is provided in sengmsg(), even though msg_controllen was set to
0.

Initialize msg.msg_controllen just as needed and also perform the size
assertion only when needed.

Closes #9039
2022-06-23 16:11:32 +02:00
..
msh3.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
msh3.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
ngtcp2.c ngtcp2: avoid supplying 0 length msg_control to sendmsg() 2022-06-23 16:11:32 +02:00
ngtcp2.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
quiche.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
quiche.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
vquic.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
vquic.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00