]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix various 'Uninitialized scalar variable' warnings from Coverity
authorFrank Lichtenheld <frank@lichtenheld.com>
Sun, 8 Oct 2023 10:36:41 +0000 (12:36 +0200)
committerGert Doering <gert@greenie.muc.de>
Wed, 17 Jan 2024 14:05:30 +0000 (15:05 +0100)
commit327355f5174772ad2c788aaeb2a7b4db39cff385
tree20b95de61fc0367ba9f6d534f173e823fe0f65d1
parent4bcb38c42ae62a3c3511511eb4ffe0d66b8e32eb
Fix various 'Uninitialized scalar variable' warnings from Coverity

These are all not actually problems, since the
uninitialized parts are either .unused members of the
struct (mroute_addr) or only written to (buflen), but
still doesn't hurt to explicitely initialize them.

Change-Id: I45cd0917d24570ae9e9db7eb6c370756e4595842
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Arne Schwabe <arne-openvpn@rfc2549.org>
Message-Id: <20231008103641.19864-1-frank@lichtenheld.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg27157.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/mudp.c
src/openvpn/multi.c
src/openvpn/pkcs11_openssl.c
src/openvpn/socket.c