]> git.ipfire.org Git - thirdparty/openvpn.git/commit
auth_token.c: add NULL initialization
authorLev Stipakov <lev@openvpn.net>
Fri, 7 Jan 2022 12:35:50 +0000 (14:35 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 10 Jan 2022 16:51:05 +0000 (17:51 +0100)
commit813d1ee3c8b6a914599e4705eee3b8835d606e4b
treeda56fb748d432b5e0f7b6e4213242a9862150518
parente3bac09f6a128260e23d94463862757b576a12c3
auth_token.c: add NULL initialization

This fixes

  error C4703: potentially uninitialized local pointer variable
'b64output' used

found by arm64 msvc compiler with SDL enabled.

Not sure why this is not triggered on x86/x64.

Signed-off-by: Lev Stipakov <lev@openvpn.net>
Acked-by: Antonio Quartulli <antonio@openvpn.net>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <20220107123550.188-1-lstipakov@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg23511.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 4b6073b8253dafeb425361fb55bab0f2cdc5474f)
src/openvpn/auth_token.c