Date: Mon, 24 Oct 2005 19:28:17 GMT From: Todd Miller <millert@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 85790 for review Message-ID: <200510241928.j9OJSHpW033547@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=85790 Change 85790 by millert@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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510241928.j9OJSHpW033547>