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
6b16e7e1bb
commit
8c0db0b007
@ -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…
x
Reference in New Issue
Block a user