Actions
Bug #6585
closedSCTIME_FROM_TIMESPEC() creates incorrect timestamps
Affected Versions:
Effort:
low
Difficulty:
low
Label:
Beginner, C
Description
The macro SCTIME_FROM_TIMESPEC(ts) converts nanoseconds to microseconds by multiplying by 1000, when it should divide by 1000.
This will produce garbage SCtime_t values in the microsecond part, which may affect flow tracking behaviour and reporting as it is used to set f->startts.
Actions