PERFORCE change 136469 for review

David E. O'Brien obrien at FreeBSD.org
Fri Feb 29 19:48:21 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=136469

Change 136469 by obrien at 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);
 }


More information about the p4-projects mailing list