From 5f96ce1099d1d0a9d82ef2f5ee4030dc8e9be597 Mon Sep 17 00:00:00 2001 From: bol-van Date: Thu, 8 Jan 2026 12:18:54 +0300 Subject: [PATCH] nfqws2: minor safety fix --- nfq2/desync.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nfq2/desync.c b/nfq2/desync.c index 5598760..9acec88 100644 --- a/nfq2/desync.c +++ b/nfq2/desync.c @@ -274,8 +274,8 @@ static bool auto_hostlist_retrans if (dis->tcp && ctrack->dp->hostlist_auto_retrans_reset && (dis->ip || dis->ip6)) { uint8_t pkt[sizeof(struct ip6_hdr)+sizeof(struct tcphdr)]; - struct ip *ip; - struct ip6_hdr *ip6; + struct ip *ip=NULL; + struct ip6_hdr *ip6=NULL; struct tcphdr *tcp; uint16_t pktlen;