]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Warn user if INFO control command is too long
authorLev Stipakov <lev@openvpn.net>
Fri, 22 Sep 2023 10:50:55 +0000 (12:50 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 22 Sep 2023 12:01:46 +0000 (14:01 +0200)
commitdf624fb6d63db6b2a3b0c40597cee74c61b8ab2c
treeff6cccf21cd44ff4fb30e997ee30a3d3a0da61b7
parent95cc5faa16833acaf12a4d273c5c848984fc73ce
Warn user if INFO control command is too long

"INFO_PRE,..." command length is limited to 256 bytes. If the server
implementation pushes command which is too long, warn the user and
don't send the truncated command to a management client.

Change-Id: If3c27a2a2ba24f2af0e3e3c95eea57ed420b2542
Signed-off-by: Lev Stipakov <lev@openvpn.net>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20230922105055.37969-1-frank@lichtenheld.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg27062.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/push.c