Of course (opt) should never be NULL here in the first place... but
if it is, we want a clear ASSERT() failure, not a SIGSEGV :-)

Your patch has been applied to the master and release/2.7 branch.

commit abc1f3260bc11373d671dd7ad3a9e97ec489a7f5 (master)
commit 5924a9d6fcb24781266948cc1b524828c4ab723d (release/2.7)
Author: Razvan Cojocaru
Date:   Mon Nov 2 15:15:51 2026 +0100

     crypto: assert opt before first use in openvpn_decrypt_aead()

     Signed-off-by: Razvan Cojocaru <[email protected]>
     Acked-by: Steffan Karger <[email protected]>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2089
     Message-Id: <[email protected]>
     URL: 
https://lore.kernel.org/openvpn-devel/[email protected]
     Signed-off-by: Gert Doering <[email protected]>


--
kind regards,

Gert Doering



_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to