]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Exit if a proper message instead of segfault on Android without management
authorArne Schwabe <arne@rfc2549.org>
Mon, 20 Feb 2023 13:14:24 +0000 (14:14 +0100)
committerGert Doering <gert@greenie.muc.de>
Mon, 20 Feb 2023 16:03:38 +0000 (17:03 +0100)
commit3132bead497deca24dc638e151bf7194df6f4884
tree35983b6df6387589551af12e637dbaff861c576a
parentb9e0e4060798ed88d2170702f2935754616b1200
Exit if a proper message instead of segfault on Android without management

The Android implementation is relying on the management interface to be
always available. Trying to run the Android binary without the mangament
interface outside the app leads to a segfault. Exit with a FATAL error
instead.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20230220131424.1749736-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg26288.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/manage.c
src/openvpn/socket.c