Commit 3c167e1
committed
netfilter: nf_conntrack_bridge: initialize err to 0
jira LE-1907
cve CVE-2024-27415
Rebuild_History Non-Buildable kernel-5.14.0-427.33.1.el9_4
commit-author Linkui Xiao <[email protected]>
commit a44af08
K2CI reported a problem:
consume_skb(skb);
return err;
[nf_br_ip_fragment() error] uninitialized symbol 'err'.
err is not initialized, because returning 0 is expected, initialize err
to 0.
Fixes: 3c171f4 ("netfilter: bridge: add connection tracking system")
Reported-by: k2ci <[email protected]>
Signed-off-by: Linkui Xiao <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
(cherry picked from commit a44af08)
Signed-off-by: Jonathan Maple <[email protected]>1 parent 65676da commit 3c167e1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments