Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F112553098
D47405.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
719 B
Referenced Files
None
Subscribers
None
D47405.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D47405: pf: Fix a use of an uninitialized variable
Attached
Detach File
Event Timeline
Log In to Comment