Actions
Bug #4306
closeddns: output flags not set correctly on 32 bit systems
Description
The flags variable is a uint64_t and was being set to all bits on with:
dnslog_ctx->flags = ~0UL;
while this sets all 64 bits on a 64 bit system, it only sets 32 on a 32 bit system.
A work-around is to make sure the "dns" in the eve config has a trailing ":". For example:
types: - dns:
This turns the value into an object which causes for initialization to be done result in correct initialization.
Updated by Jeff Lucovsky almost 4 years ago
- Copied from Bug #4206: dns: output flags not set correctly on 32 bit systems added
Updated by Shivani Bhardwaj almost 4 years ago
- Status changed from Assigned to In Review
In Review PR: https://github.com/OISF/suricata/pull/5819
Updated by Victor Julien almost 4 years ago
- Status changed from In Review to Closed
Actions