PERFORCE change 18289 for review
Robert Watson
rwatson at freebsd.org
Sat Sep 28 19:30:23 GMT 2002
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18289
Change 18289 by rwatson at rwatson_tislabs on 2002/09/28 12:29:42
It's not an error for the user program to provide a buffer for
data larger than we support, it's only an error for it to
provide data larger than we support in kernel.
Affected files ...
.. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#279 edit
Differences ...
==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#279 (text+ko) ====
@@ -1520,7 +1520,7 @@
mac_check_structmacelement_consistent(struct mac_element *element)
{
- if (element->me_databuflen > MAC_MAX_LABEL_ELEMENT_DATALEN)
+ if (element->me_datalen > MAC_MAX_LABEL_ELEMENT_DATALEN)
return (EINVAL);
if (element->me_datalen > element->me_databuflen)
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list