From: Vincent Bernat Date: Mon, 13 Apr 2020 12:17:10 +0000 (+0200) Subject: agent: fix crash on AgentX reconnect with NetSNMP 5.8 X-Git-Tag: 1.0.6~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c0b9ad5fc83e913e6ef761390c6211d6d240c212;p=thirdparty%2Flldpd.git agent: fix crash on AgentX reconnect with NetSNMP 5.8 --- diff --git a/NEWS b/NEWS index f9860917..bbf8584c 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,7 @@ lldpd (1.0.6) * Fix: + Do not loose chassis local information when interface status changes. + + Fix crash on AgentX reconnect with NetSNMP 5.8. lldpd (1.0.5) * Changes: diff --git a/src/daemon/agent_priv.c b/src/daemon/agent_priv.c index 59054ccc..6901df8f 100644 --- a/src/daemon/agent_priv.c +++ b/src/daemon/agent_priv.c @@ -45,7 +45,7 @@ #endif static oid netsnmp_unix[] = { TRANSPORT_DOMAIN_LOCAL }; -static netsnmp_tdomain unixDomain; +static netsnmp_tdomain unixDomain = {}; static char * agent_priv_unix_fmtaddr(F_FMTADDR_SIGNATURE)