Actions
Bug #7836
closed
JI
JI
util-byte: bad usage of StringParse function return codes
Bug #7836:
util-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
Actions