Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F176836232
D60927.1793455636.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
420 B
Referenced Files
None
Subscribers
None
D60927.1793455636.diff
View Options
Index: usr.sbin/rpc.tlsservd/rpc.tlsservd.c
===================================================================
--- usr.sbin/rpc.tlsservd/rpc.tlsservd.c
+++ usr.sbin/rpc.tlsservd/rpc.tlsservd.c
@@ -358,6 +358,8 @@
assert(rqstp->rq_xprt == xprt);
ctx = malloc(sizeof(*ctx));
+ if (ctx == NULL)
+ return (FALSE);
memcpy(&ctx->arg, argp, sizeof(ctx->arg));
ctx->xid = *(uint32_t *)pthread_getspecific(xidkey);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 31, 2:07 PM (8 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41246644
Default Alt Text
D60927.1793455636.diff (420 B)
Attached To
Mode
D60927: rpc.tlsservd: check the malloc() in rpctlssd_connect_2_svc()
Attached
Detach File
Event Timeline