Am 16.05.2022 um 20:56 schrieb Kristof Provost via Openvpn-devel:
From: Kristof Provost <k...@freebsd.org> multi_create_instance() can fail (i.e. return NULL). multi_create_instance_tcp() is ready for this, but called multi_assign_peer_id() without first checking if mi was non-NULL. multi_assign_peer_id() assumed that mi is non-NULL, dereferencing it and causing a crash. Move the call to multi_assign_peer_id() after the mi NULL check.
I did add multi_assign_peer there iirc but Kristof is right. Acked-By: Arne Schwabe <a...@rfc2549.org _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel