Date: Mon, 26 Mar 2018 15:20:42 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r331553 - stable/11/sys/cddl/contrib/opensolaris/uts/common/dtrace Message-ID: <201803261520.w2QFKglL058530@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Mon Mar 26 15:20:42 2018 New Revision: 331553 URL: https://svnweb.freebsd.org/changeset/base/331553 Log: MFC r331134: Fix an access of an uninitialized variable in dtrace_probe(). Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c ============================================================================== --- stable/11/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c Mon Mar 26 15:19:45 2018 (r331552) +++ stable/11/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c Mon Mar 26 15:20:42 2018 (r331553) @@ -7177,7 +7177,7 @@ dtrace_probe(dtrace_id_t id, uintptr_t arg0, uintptr_t } now = mstate.dtms_timestamp = dtrace_gethrtime(); - mstate.dtms_present |= DTRACE_MSTATE_TIMESTAMP; + mstate.dtms_present = DTRACE_MSTATE_TIMESTAMP; vtime = dtrace_vtime_references != 0; if (vtime && curthread->t_dtrace_start)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803261520.w2QFKglL058530>