Florian Westphal
a6d28eb8ef
netfilter: nf_conntrack_h323: don't pass uninitialised l3num value
Mihail Milev reports: Error: UNINIT (CWE-457):
net/netfilter/nf_conntrack_h323_main.c:1189:2: var_decl:
Declaring variable "tuple" without initializer.
net/netfilter/nf_conntrack_h323_main.c:1197:2:
uninit_use_in_call: Using uninitialized value "tuple.src.l3num" when calling "__nf_ct_expect_find".
net/netfilter/nf_conntrack_expect.c:142:2:
read_value: Reading value "tuple->src.l3num" when calling "nf_ct_expect_dst_hash".
1195| tuple.dst.protonum = IPPROTO_TCP;
1196|
1197|-> exp = __nf_ct_expect_find(net, nf_ct_zone(ct), &tuple);
1198| if (exp && exp->master == ct)
1199| return exp;
Switch this to a C99 initialiser and set the l3num value.
Fixes: f587de0e2f ("[NETFILTER]: nf_conntrack/nf_nat: add H.323 helper port")
Signed-off-by: Florian Westphal <fw@strlen.de>
2026-02-17 15:04:20 +01:00
..
2025-12-07 08:29:09 -08:00
2026-01-20 19:12:06 -08:00
2025-10-31 17:42:35 -07:00
2025-11-04 19:10:32 -08:00
2026-02-10 11:24:47 +01:00
2026-01-30 19:19:39 -08:00
2025-10-31 06:46:03 -07:00
2026-02-11 19:31:52 -08:00
2026-01-24 18:49:35 -08:00
2026-02-17 13:00:14 +01:00
2025-12-11 01:35:41 -08:00
2026-02-05 11:58:40 +01:00
2026-01-06 00:39:43 +01:00
2026-02-17 13:28:10 +01:00
2025-10-01 09:48:21 +02:00
2026-02-02 20:05:51 -08:00
2025-11-04 12:36:51 +01:00
2026-02-11 11:27:57 +01:00
2025-11-24 19:27:31 -08:00
2026-02-05 09:54:08 -08:00
2025-12-22 12:36:40 +01:00
2026-02-10 12:02:29 +01:00
2025-11-04 19:10:33 -08:00
2026-02-11 19:31:52 -08:00
2026-02-13 12:24:28 -08:00
2026-02-04 20:39:58 -08:00
2025-12-03 17:24:33 -08:00
2025-10-30 09:03:12 +01:00
2026-01-19 09:55:41 -08:00
2025-11-04 19:10:32 -08:00
2026-02-02 10:11:18 +01:00
2026-02-12 18:35:45 -08:00
2025-11-03 17:40:54 -08:00
2026-02-11 15:14:35 +01:00
2026-02-17 15:04:20 +01:00
2025-11-04 19:10:32 -08:00
2026-01-20 19:15:40 -08:00
2026-02-05 18:46:20 -08:00
2026-01-22 12:55:22 +01:00
2026-02-05 16:33:52 +01:00
2025-11-04 19:10:33 -08:00
2025-11-25 19:20:42 -08:00
2025-11-04 19:10:32 -08:00
2026-02-17 12:03:57 +01:00
2025-09-22 17:40:30 -07:00
2025-12-30 11:45:51 +01:00
2026-01-21 19:59:29 -08:00
2026-02-11 19:31:52 -08:00
2026-01-17 15:10:34 -08:00
2025-11-25 19:20:42 -08:00
2026-01-30 19:21:51 -08:00
2025-11-13 12:35:38 -08:00
2025-12-24 09:23:04 -08:00
2026-02-05 12:36:31 -08:00
2025-10-31 06:46:03 -07:00
2026-02-11 13:01:13 +01:00
2026-02-13 12:28:38 -08:00
2026-02-02 10:11:07 +01:00
2025-11-04 19:10:32 -08:00
2026-01-20 18:06:01 -08:00
2026-02-10 11:26:21 -08:00
2025-11-26 13:45:23 -07:00
2025-10-17 16:29:26 -07:00
2025-12-05 15:52:30 -08:00