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.
Updated by Stephen Donnelly 11 months ago
- Subject changed from SCTIME_FROM_TIMEVAL() creates incorrect timestamps to SCTIME_FROM_TIMESPEC() creates incorrect timestamps
Updated by Victor Julien 11 months ago
- Related to Bug #6584: SCTIME_ADD_SECS() macro zeros out ts.usec part added
Updated by Victor Julien 11 months ago
- Target version changed from 7.0.3 to 8.0.0-beta1
Updated by Jeff Lucovsky 11 months ago
- Status changed from New to Resolved
- Assignee changed from OISF Dev to Stephen Donnelly
Actions