[PATCH applied] Re: Move check_session_buf_not_used method into the method that free the buffer

Gert Doering <[email protected]>
Newsgroups gmane.network.openvpn.devel
Message-ID <[email protected]>
This was originally developed in the private GH repo, and got approval
from MaxF in there.  I have stared-at-this, and ran the t_server tests
on it, an can confirm that it does not break anything - and I have
confirmation from the last reporter (Andres Berbescu) that it fixes the
last remaining issue here.

Your patch has been applied to the master, release/2.7 and release/2.6
branches, the latter with some (trivial) conflicts due to whitespace and
"const" changes.  Theoretically this issue is also part of 2.5, but the
codebase is different enough that I did not want to go there today.

commit 2a881d737b2562ee28247148160cfb60f0ba4645 (master)
commit c52f940196444668284eb06ec0cf08a8bc3cd36b (release/2.7)
commit 7dae631514b331485505470bbb8bcc67fb881d8f (release/2.6)
Author: Arne Schwabe
Date:   Thu Sep 3 08:12:02 2026 +0200

     Move check_session_buf_not_used method into the method that free the buffer

     Signed-off-by: Arne Schwabe <[email protected]>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1893
     Acked-by: MaxF <[email protected]>
     Message-Id: <[email protected]>
     URL: https://www.mail-archive.com/[email protected]/msg38913.html
     Signed-off-by: Gert Doering <[email protected]>


--
kind regards,

Gert Doering
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.