Snippets for aide-intrusion-detection 0.19.4 from Alpine armhf
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-armhf/testing/aide/aide-0.19.4-r0.log.
-
src/report_json.c:99:28: warning: comparison is always true due to limited range of data type [-Wtype-limits] 99 | if (src[i] >= 0 && (src[i] < 0x1f || src[i] == 0x7f)) { | ^~ -
./include/log.h:73:63: warning: format '%zi' expects argument of type 'signed size_t', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=] 73 | #define LOG_WHOAMI(log_level, format, ...) log_msg(log_level, "%*s%s" format, whoami?10:0, whoami?whoami:"", whoami?": ":"", __VA_ARGS__); | ^~~~~~~ -
src/util.c:151:16: warning: comparison is always true due to limited range of data type [-Wtype-limits] 151 | if ((c >= 0 && (c < 0x1f || c == 0x7f)) || | ^~