[Openvpn-devel] [S] Change in openvpn[master]: mbedtls: Work-around bug in mbedtls 4.1.0 and 4.2.0

"MaxF \(Code Review\) via Openvpn-devel" <[email protected]>
Newsgroups net.sourceforge.lists.openvpn-devel
Message-ID <dec678032d853e4b48c4b3d6d4f62870c27ca7ef-EmailReviewComments-HTML@gerrit.openvpn.net>
Attention is currently required from: flichtenheld, plaisthos.

MaxF has posted comments on this change by flichtenheld. ( http://gerrit.openvpn.net/c/openvpn/+/1849?usp=email )

Change subject: mbedtls: Work-around bug in mbedtls 4.1.0 and 4.2.0
......................................................................


Patch Set 1:

(1 comment)

File src/openvpn/mbedtls_compat.h:

http://gerrit.openvpn.net/c/openvpn/+/1849/comment/0b52619d_3c0b293e?usp=email :
PS1, Line 240:                                              (size_t *)&prv->MBEDTLS_PRIVATE(pub_raw_len))));
> These two casts would build even if the types of the variables would change in the future. […]
If I understand it correctly, we'll only need to do this for versions 4.1 and 4.2.0. If a fixed version is released, I'd just add MBEDTLS_VERSION_NUMBER < ...

Maybe we could do that preemptively so we don't forget later but I'm not sure if the fix will be in 4.2.1 or 4.3.0.



-- 
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1849?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I694410615958afbb422d9ead71f04c1a60edc640
Gerrit-Change-Number: 1849
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <[email protected]>
Gerrit-Reviewer: plaisthos <[email protected]>
Gerrit-CC: MaxF <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-CC: razvanc <[email protected]>
Gerrit-Attention: plaisthos <[email protected]>
Gerrit-Attention: flichtenheld <[email protected]>
Gerrit-Comment-Date: Fri, 21 Aug 2026 13:07:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: razvanc <[email protected]>

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.