Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177641436
D47495.1794925330.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
453 B
Referenced Files
None
Subscribers
None
D47495.1794925330.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
@@ -1433,7 +1433,9 @@
s->timeout = PFTM_UNLINKED;
PF_HASHROW_UNLOCK(ih);
KEYS_UNLOCK();
- uma_zfree(V_pf_state_key_z, sk);
+ uma_zfree(V_pf_state_key_z, skw);
+ if (skw != sks)
+ uma_zfree(V_pf_state_key_z, sks);
if (idx == PF_SK_STACK)
pf_detach_state(s);
return (EEXIST); /* collision! */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 17, 2:22 PM (7 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41801411
Default Alt Text
D47495.1794925330.diff (453 B)
Attached To
Mode
D47495: pf: fix potential state key leak
Attached
Detach File
Event Timeline