Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153281331
D45033.id138007.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
346 B
Referenced Files
None
Subscribers
None
D45033.id138007.diff
View Options
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c
--- a/sys/netinet/in_pcb.c
+++ b/sys/netinet/in_pcb.c
@@ -655,6 +655,10 @@
#if defined(IPSEC) || defined(IPSEC_SUPPORT) || defined(MAC)
out:
+ crfree(inp->inp_cred);
+#ifdef INVARIANTS
+ inp->inp_cred = NULL;
+#endif
uma_zfree_smr(pcbinfo->ipi_zone, inp);
return (error);
#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 21, 5:36 AM (17 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31892221
Default Alt Text
D45033.id138007.diff (346 B)
Attached To
Mode
D45033: in_pcb: don't leak credential refcounts on error
Attached
Detach File
Event Timeline
Log In to Comment