curl/lib/vquic
Viktor Szakats d60c9aec42
openssl-quic: avoid potential -Wnull-dereference, add assert
Seen with curl-for-win, OpenSSL QUIC, gcc 14.2.0, cmake unity mode.

Silences:
```
In file included from _x86-win-ucrt-bld/lib/CMakeFiles/libcurl_object.dir/Unity/unity_5_c.c:55:
In function 'cf_osslq_check_and_unblock',
    inlined from 'cf_progress_egress' at lib/vquic/curl_osslq.c:1730:12:
lib/vquic/curl_osslq.c:1581:11: error: potential null pointer dereference [-Werror=null-dereference]
 1581 |           nghttp3_conn_unblock_stream(ctx->h3.conn, stream->s.id);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/vquic/curl_osslq.c:1582:34: error: potential null pointer dereference [-Werror=null-dereference]
 1582 |           stream->s.send_blocked = FALSE;
      |                                  ^
```

Co-authored-by: Daniel Stenberg
Co-authored-by: Stefan Eissing

Closes #17107
2025-04-22 16:50:12 +02:00
..
.checksrc strparse: switch to curl_off_t as base data type 2025-02-15 21:58:48 +01:00
curl_msh3.c lib: add meta_hash to connection, eliminate hash_offt 2025-04-22 15:57:18 +02:00
curl_msh3.h lib: include files using known path 2025-04-08 17:00:00 +02:00
curl_ngtcp2.c lib: add meta_hash to connection, eliminate hash_offt 2025-04-22 15:57:18 +02:00
curl_ngtcp2.h vquic: ngtcp2 + openssl support 2025-04-16 22:32:07 +02:00
curl_osslq.c openssl-quic: avoid potential -Wnull-dereference, add assert 2025-04-22 16:50:12 +02:00
curl_osslq.h lib: include files using known path 2025-04-08 17:00:00 +02:00
curl_quiche.c lib: add meta_hash to connection, eliminate hash_offt 2025-04-22 15:57:18 +02:00
curl_quiche.h lib: include files using known path 2025-04-08 17:00:00 +02:00
vquic-tls.c lib: include files using known path 2025-04-08 17:00:00 +02:00
vquic-tls.h lib: include files using known path 2025-04-08 17:00:00 +02:00
vquic.c vquic: unblame netbsd 2025-04-22 15:54:07 +02:00
vquic.h vquic: ngtcp2 + openssl support 2025-04-16 22:32:07 +02:00
vquic_int.h vquic: consistent name for the stream struct across backends 2025-04-22 10:26:04 +02:00