Date: Fri, 29 Feb 2008 19:48:17 GMT From: "David E. O'Brien" <obrien@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 136469 for review Message-ID: <200802291948.m1TJmHX0092569@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=136469 Change 136469 by obrien@obrien_trang on 2008/02/29 00:22:37 Zero out the new tcb. Obtained from: Juniper Networks Affected files ... .. //depot/projects/mips2-jnpr/src/lib/libthr/arch/mips/mips/pthread_md.c#3 edit Differences ... ==== //depot/projects/mips2-jnpr/src/lib/libthr/arch/mips/mips/pthread_md.c#3 (text+ko) ==== @@ -42,6 +42,7 @@ tcb = malloc(sizeof(struct tcb)); if (tcb) + bzero(tcb, sizeof(struct tcb)); tcb->tcb_thread = thread; return (tcb); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802291948.m1TJmHX0092569>
