Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161899565
D49648.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
299 B
Referenced Files
None
Subscribers
None
D49648.diff
View Options
diff --git a/usr.sbin/ctld/ctld.cc b/usr.sbin/ctld/ctld.cc
--- a/usr.sbin/ctld/ctld.cc
+++ b/usr.sbin/ctld/ctld.cc
@@ -349,6 +349,8 @@
dm = 32;
}
if (mask != NULL) {
+ if (mask[0] == '\0')
+ goto error;
m = strtol(mask, &tmp, 0);
if (m < 0 || m > dm || tmp[0] != 0)
goto error;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 8, 8:32 PM (13 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34858998
Default Alt Text
D49648.diff (299 B)
Attached To
Mode
D49648: ctld: Require a mask if / is specified in an initiator portal
Attached
Detach File
Event Timeline
Log In to Comment