Date: Mon, 27 Sep 2004 12:34:48 +0000 (UTC) From: Ken Smith <kensmith@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/sparc64 vm_machdep.c Message-ID: <200409271234.i8RCYm6J093187@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kensmith 2004-09-27 12:34:48 UTC
FreeBSD src repository
Modified files:
sys/sparc64/sparc64 vm_machdep.c
Log:
Initialize the count of saved register windows to 0 in the pcb created
for the new thread. The rest of the fields in the pcb wind up being
written to before they're read as a normal part of the pcb usage but
this field may be read upon return to userland, having it be uninitialized
garbage is bad.
Submitted by: Andrew Belashov (bel at orel dot ru)
Reviewed by: jake
MFC after: 3 days
Revision Changes Path
1.67 +1 -0 src/sys/sparc64/sparc64/vm_machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409271234.i8RCYm6J093187>
