PERFORCE change 85790 for review
Todd Miller
millert at FreeBSD.org
Mon Oct 24 19:28:17 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=85790
Change 85790 by millert at millert_ibook on 2005/10/24 19:27:16
In ipc_kmsg_alloc(), kmsg->ikm_sender is already zerod out by
ikm_init() so there's no need to do it manually.
Also fixes a NULL deref on kalloc() failure.
Affected files ...
.. //depot/projects/trustedbsd/sedarwin7/src/darwin/xnu/osfmk/ipc/ipc_kmsg.c#5 edit
Differences ...
==== //depot/projects/trustedbsd/sedarwin7/src/darwin/xnu/osfmk/ipc/ipc_kmsg.c#5 (text+ko) ====
@@ -212,10 +212,6 @@
ikm_init(kmsg, msg_and_trailer_size);
}
-#ifdef MAC
- kmsg->ikm_sender = (ipc_labelh_t)IO_NULL;
-#endif
-
return(kmsg);
}
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