Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150997892
D19251.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
437 B
Referenced Files
None
Subscribers
None
D19251.id.diff
View Options
Index: head/sys/geom/geom_ctl.c
===================================================================
--- head/sys/geom/geom_ctl.c
+++ head/sys/geom/geom_ctl.c
@@ -139,6 +139,12 @@
char *p;
u_int i;
+ if (req->narg > 2048) {
+ gctl_error(req, "too many arguments");
+ req->arg = NULL;
+ return;
+ }
+
ap = geom_alloc_copyin(req, req->arg, req->narg * sizeof(*ap));
if (ap == NULL) {
gctl_error(req, "bad control request");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 6, 9:20 AM (3 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30955113
Default Alt Text
D19251.id.diff (437 B)
Attached To
Mode
D19251: Impose a limit on GEOM_CTL argument lists.
Attached
Detach File
Event Timeline
Log In to Comment