diff options
author | Frank Lichtenheld | 2024-03-25 08:14:48 +0100 |
---|---|---|
committer | Gert Doering | 2024-03-25 17:53:34 +0100 |
commit | e8c629fe64c67ea0a8454753be99db44df7ce53e (patch) | |
tree | 849592cb977864079cf014e09d940080d3663540 /ChangeLog | |
parent | 6a60d1bef424088df55f4d07efd45ce080fc7132 (diff) | |
download | openvpn-e8c629fe64c67ea0a8454753be99db44df7ce53e.zip openvpn-e8c629fe64c67ea0a8454753be99db44df7ce53e.tar.gz |
phase2_tcp_server: fix Coverity issue 'Dereference after null check'
As Coverity says:
Either the check against null is unnecessary, or there may be a null
pointer dereference.
In phase2_tcp_server: Pointer is checked against null but then
dereferenced anyway
There is only one caller (link_socket_init_phase2) and it already has
an ASSERT(sig_info). So use that here was well.
v2:
- fix cleanly by actually asserting that sig_info is defined
Change-Id: I8ef199463d46303129a3f563fd9eace780a58b8a
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Arne Schwabe <arne-openvpn@rfc2549.org>
Message-Id: <20240325071448.12143-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg28452.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions