curl/lib/vquic
Jay Satiro 55367416f5 cf-socket: error if address can't be copied
- When converting Curl_addrinfo to Curl_sockaddr_ex, if the address
  length is too large then return error CURLE_TOO_LARGE.

Prior to this change the address structure was truncated on copy, and
the length shortened which I think is incorrect.

AFAICS the only time it could conceivably happen is when a UNIX socket
path is too long, and even then curl should've accounted for that by
having a structure that is large enough to store it. This is why I added
a DEBUGASSERT for debug builds, because I don't think it should ever
happen.

Closes https://github.com/curl/curl/pull/15784
2024-12-22 03:12:35 -05:00
..
.checksrc lib: enable strerror and strncpy checksrc warnings in subdirs 2024-09-09 16:51:21 +02:00
curl_msh3.c cf-socket: error if address can't be copied 2024-12-22 03:12:35 -05:00
curl_msh3.h quic: rename vquic implementations, fix for quiche build. 2023-01-05 23:39:49 +01:00
curl_ngtcp2.c lib: TLS session ticket caching reworked 2024-12-20 14:59:23 +01:00
curl_ngtcp2.h ngtcp2: adjust config and code checks for ngtcp2 without nghttp3 2023-03-23 15:39:13 +01:00
curl_osslq.c lib: TLS session ticket caching reworked 2024-12-20 14:59:23 +01:00
curl_osslq.h http3: initial support for OpenSSL 3.2 QUIC stack 2024-01-22 16:15:45 +01:00
curl_quiche.c lib: TLS session ticket caching reworked 2024-12-20 14:59:23 +01:00
curl_quiche.h quic: rename vquic implementations, fix for quiche build. 2023-01-05 23:39:49 +01:00
vquic-tls.c lib: TLS session ticket caching reworked 2024-12-20 14:59:23 +01:00
vquic-tls.h lib: TLS session ticket caching reworked 2024-12-20 14:59:23 +01:00
vquic.c vquic: recv_mmsg, use fewer, but larger buffers 2024-10-31 23:40:51 +01:00
vquic.h lib: merge ENABLE_QUIC C macro into USE_HTTP3 2024-04-13 08:33:27 +00:00
vquic_int.h lib: merge ENABLE_QUIC C macro into USE_HTTP3 2024-04-13 08:33:27 +00:00