Bug #6585
closed
SCTIME_FROM_TIMESPEC() creates incorrect timestamps
Added by Stephen Donnelly over 1 year ago.
Updated about 1 year ago.
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.
- Subject changed from SCTIME_FROM_TIMEVAL() creates incorrect timestamps to SCTIME_FROM_TIMESPEC() creates incorrect timestamps
- Target version changed from TBD to 7.0.3
- Related to Bug #6584: SCTIME_ADD_SECS() macro zeros out ts.usec part added
- Target version changed from 7.0.3 to 8.0.0-beta1
- Label deleted (
Needs backport to 7.0)
- Status changed from New to Resolved
- Assignee changed from OISF Dev to Stephen Donnelly
- Status changed from Resolved to Closed
Also available in: Atom
PDF