Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F114071553
D45033.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.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 8, 3:14 PM (16 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17429870
Default Alt Text
D45033.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