Fix an access of an uninitialized variable in dtrace_probe().
Reported by: Coverity, via cem MFC after: 3 days
This commit is contained in:
parent
89a895b63c
commit
95099bbad1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=331134
@ -7318,7 +7318,7 @@ dtrace_probe(dtrace_id_t id, uintptr_t arg0, uintptr_t arg1,
|
||||
}
|
||||
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user