[PATCH 0/8] Fix Clang analyzer warnings

Jussi Laakkonen <[email protected]> Thu, 10 Apr 2025 18:58:38 +0300
Newsgroups dev.linux.lists.connman
Message-ID <[email protected]>
This set of patches contains fixes to warnings reported by Clang analyzer.

Jussi Laakkonen (8):
  openvpn: Fix use of NULL private data.
  vpn: Check also vpn-driver to avoid NULL ptr dereference.
  vpn: Avoid using uninitialized prefix_len
  vpn: Fix mem leak on nameservers
  ipconfig: Fix Clang garbage value complaints
  gweb: Do not append NULL body to send buffer
  dchpv6: Set err to 0 when client creation succeeds
  vpn: Fix mem leak of gid_list in task setup

 gweb/gweb.c           | 6 +++---
 plugins/vpn.c         | 7 +++++--
 src/dhcpv6.c          | 2 ++
 src/ipconfig.c        | 7 +++++--
 vpn/plugins/openvpn.c | 6 +++++-
 vpn/plugins/vpn.c     | 6 ++++--
 6 files changed, 24 insertions(+), 10 deletions(-)

--
2.39.5