Date: Sat, 18 Apr 2015 17:22:10 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 199518] [patch] use uninitialized field td_sel of struct thread Message-ID: <bug-199518-8-VSPaax6Txz@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-199518-8@https.bugs.freebsd.org/bugzilla/> References: <bug-199518-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199518 --- Comment #1 from commit-hook@freebsd.org --- A commit references this bug: Author: kib Date: Sat Apr 18 17:21:13 UTC 2015 New revision: 281696 URL: https://svnweb.freebsd.org/changeset/base/281696 Log: Initialize td_sel in the thread_init(). Struct thread is not zeroed on the initial allocation, but seltdinit() assumes that td_sel is NULL or a valid pointer. Note that thread_fini()/seltdfini() also relies on this, but correctly resets td_sel to NULL. Submitted by: luke.tw@gmail.com PR: 199518 MFC after: 1 week Changes: head/sys/kern/kern_thread.c -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199518-8-VSPaax6Txz>
