Page MenuHomeFreeBSD

D47405.diff
No OneTemporary

D47405.diff

diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c
--- a/sys/netpfil/pf/pf.c
+++ b/sys/netpfil/pf/pf.c
@@ -1798,6 +1798,9 @@
struct pf_kstate *s, *ret = NULL;
int idx, inout = 0;
+ if (more != NULL)
+ *more = 0;
+
pf_counter_u64_add(&V_pf_status.fcounters[FCNT_STATE_SEARCH], 1);
kh = &V_pf_keyhash[pf_hashkey((const struct pf_state_key *)key)];
diff --git a/sys/netpfil/pf/pf_nl.c b/sys/netpfil/pf/pf_nl.c
--- a/sys/netpfil/pf/pf_nl.c
+++ b/sys/netpfil/pf/pf_nl.c
@@ -1264,7 +1264,7 @@
struct pf_state_key *sk;
struct pf_kstate *state;
struct genlmsghdr *ghdr_new;
- int error, m;
+ int error, m = 0;
int sidx, didx;
error = nl_parse_nlmsg(hdr, &natlook_parser, npt, &attrs);

File Metadata

Mime Type
text/plain
Expires
Thu, Mar 20, 6:33 PM (21 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17233403
Default Alt Text
D47405.diff (719 B)

Event Timeline