Actions
Bug #7836
closedutil-byte: bad usage of StringParse function return codes
Description
These functions return 0 or less than 0 on failure, where 0 means no bytes were parsed to a number and can leave the output variable uninitialized.
A compiler warning is emitted with -flto=auto -O2
on this usage.
To reproduce the compiler warnings:
CFLAGS="-flto=auto -O2" LDFLAGS="-flto=auto -O2" ./configure make
Updated by Jason Ish 29 days ago
PR for review: https://github.com/OISF/suricata/pull/13665
Updated by Victor Julien 13 days ago
- Status changed from In Review to Closed
Actions