PERFORCE change 92925 for review
Todd Miller
millert at FreeBSD.org
Tue Mar 7 09:06:03 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=92925
Change 92925 by millert at millert_ibook on 2006/03/07 17:05:30
Check for null space in mach_get_task_label_text() too.
Affected files ...
.. //depot/projects/trustedbsd/sedarwin7/src/darwin/xnu/osfmk/kern/security.c#8 edit
Differences ...
==== //depot/projects/trustedbsd/sedarwin7/src/darwin/xnu/osfmk/kern/security.c#8 (text+ko) ====
@@ -58,15 +58,15 @@
return (KERN_SUCCESS);
}
+
kern_return_t
-
mach_get_task_label_text(
ipc_space_t space,
labelstr_t policies,
labelstr_t outl)
{
- if (space == IS_NULL)
+ if (space == IS_NULL || space->is_task == NULL)
return KERN_INVALID_TASK;
tasklabel_lock(space->is_task);
More information about the trustedbsd-cvs
mailing list