tls: zero hdr.gso_size in openssl_ctx_read_dtls 36/43536/1
authorMatus Fabian <[email protected]>
Mon, 11 Aug 2025 09:50:51 +0000 (05:50 -0400)
committerMatus Fabian <[email protected]>
Mon, 11 Aug 2025 09:50:51 +0000 (05:50 -0400)
Type: fix

Change-Id: I621c846b3d2f3803c2799240f00b36979017bbec
Signed-off-by: Matus Fabian <[email protected]>
src/plugins/tlsopenssl/tls_openssl.c

index 3d0c522..7db06fb 100644 (file)
@@ -660,6 +660,7 @@ openssl_ctx_read_dtls (tls_ctx_t *ctx, session_t *us)
 
       hdr.data_length = read;
       hdr.data_offset = 0;
+      hdr.gso_size = 0;
 
       svm_fifo_seg_t segs[2] = { { (u8 *) &hdr, sizeof (hdr) },
                                 { buf, read } };