Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150548680
D47612.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
293 B
Referenced Files
None
Subscribers
None
D47612.id.diff
View Options
diff --git a/sys/security/mac_do/mac_do.c b/sys/security/mac_do/mac_do.c
--- a/sys/security/mac_do/mac_do.c
+++ b/sys/security/mac_do/mac_do.c
@@ -105,7 +105,7 @@
}
id = strsep(&element, ":");
- if (id == NULL) {
+ if (id == NULL || *id == '\0') {
error = EINVAL;
goto error;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 3, 6:28 AM (16 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30747326
Default Alt Text
D47612.id.diff (293 B)
Attached To
Mode
D47612: MAC/do: parse_rule_element(): Bug in parsing the origin ID
Attached
Detach File
Event Timeline
Log In to Comment