Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107148692
D47495.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
453 B
Referenced Files
None
Subscribers
None
D47495.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
Sat, Jan 11, 9:07 PM (21 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14576899
Default Alt Text
D47495.diff (453 B)
Attached To
Mode
D47495: pf: fix potential state key leak
Attached
Detach File
Event Timeline
Log In to Comment