Am 13.07.22 um 10:34 schrieb Kristof Provost via Openvpn-devel:
From: Kristof Provost <k...@freebsd.org>

If 'max-clients' is set multi_create_instance() can return NULL (for any
client that would take us over the client limit).

If mi is NULL we don't add it to the hash map, but we do potentially
dereference it to increment the session count.
Do not attempt to do so if 'mi == NULL'.

Oops. This patch also becomes much easier to review with ignoring whitespace. Then the change is just moving the }

Acked-By: Arne Schwabe <a...@rffc2549.org>


_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to