Am 16.05.2022 um 20:56 schrieb Kristof Provost via Openvpn-devel:
From: Kristof Provost <[email protected]> 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 <[email protected] _______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
