Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F176850455
D60927.1793502708.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
402 B
Referenced Files
None
Subscribers
None
D60927.1793502708.diff
View Options
diff --git a/usr.sbin/rpc.tlsservd/rpc.tlsservd.c b/usr.sbin/rpc.tlsservd/rpc.tlsservd.c
--- a/usr.sbin/rpc.tlsservd/rpc.tlsservd.c
+++ b/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
Sun, Nov 1, 3:11 AM (21 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41198046
Default Alt Text
D60927.1793502708.diff (402 B)
Attached To
Mode
D60927: rpc.tlsservd: check the malloc() in rpctlssd_connect_2_svc()
Attached
Detach File
Event Timeline