Snippets for freeipmi 1.6.18 from Nix x86_64-linux
Sourced from https://hydra.nixos.org/log/bmrfg9xky2vb8330fxhm2hy0wp1hg50x-freeipmi-1.6.18.drv.
-
fi_hostlist.c:102:46: warning: comparison between pointer and zero character constant [-Wpointer-compare] 102 | while (**str != '\0' && strchr(sep, **str) != '\0') | ^~ -
fi_hostlist.c:118:48: warning: comparison between pointer and zero character constant [-Wpointer-compare] 118 | while (**str != '\0' && strchr(sep, **str) == '\0') | ^~ -
fi_hostlist.c:123:46: warning: comparison between pointer and zero character constant [-Wpointer-compare] 123 | while (**str != '\0' && strchr(sep, **str) != '\0') | ^~ -
hostlist.c:392:48: warning: comparison between pointer and zero character constant [-Wpointer-compare] 392 | while (**str != '\0' && strchr(sep, **str) != '\0') | ^~ -
hostlist.c:408:52: warning: comparison between pointer and zero character constant [-Wpointer-compare] 408 | while (**str != '\0' && strchr(sep, **str) == '\0') | ^~ -
hostlist.c:413:48: warning: comparison between pointer and zero character constant [-Wpointer-compare] 413 | while (**str != '\0' && strchr(sep, **str) != '\0') | ^~ -
sel/ipmi-sel-string.c:2226:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4079 [-Wformat-truncation=] 2226 | "Severity State = %s", | ^~ 2227 | tmpstatebuf); | ~~~~~~~~~~~ -
sel/ipmi-sel-string.c:2211:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4079 [-Wformat-truncation=] 2211 | "Previous State = %s", | ^~ 2212 | tmpstatebuf); | ~~~~~~~~~~~ -
sel/ipmi-sel-string.c:1440:49: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4079 [-Wformat-truncation=] 1440 | "Previous State = %s", | ^~ 1441 | tmppreviousbuf); | ~~~~~~~~~~~~~~ -
sel/ipmi-sel-string.c:1455:49: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4079 [-Wformat-truncation=] 1455 | "Severity State = %s", | ^~ 1456 | tmpseveritybuf); | ~~~~~~~~~~~~~~ -
sel/ipmi-sel-string.c:1464:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4079 [-Wformat-truncation=] 1464 | "Previous State = %s%sSeverity State = %s", | ^~ 1465 | tmppreviousbuf, | ~~~~~~~~~~~~~~ -
ipmi_monitoring_sdr_cache.c:195:16: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 195 | "%s/%s", | ^ -
ipmi-oem-ibm.c:351:19: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] 351 | "%s", | ^