Snippets for apcupsd 3.14.14 from Alpine ppc64le
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-ppc64le/main/apcupsd/apcupsd-3.14.14-r6.log.
-
upsfetch.c:119:41: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 170 [-Wformat-truncation=] 119 | "upsfetch: tcp_open failed for %s port %d", lhost, nis_port); | ^~ ~~~~~ -
upsimage.c:77:44: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 77 | (void) snprintf(text, sizeof(text), "%d", next); | ^ -
upsimage.c:81:44: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 81 | (void) snprintf(text, sizeof(text), "%d", next); | ^ -
upsimage.c:85:42: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 10 [-Wformat-truncation=] 85 | (void) snprintf(text, sizeof(text), "%d", next); | ^~ -
upsimage.c:89:42: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 10 [-Wformat-truncation=] 89 | (void) snprintf(text, sizeof(text), "%d", next); | ^~ -
upsimage.c:93:42: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 10 [-Wformat-truncation=] 93 | (void) snprintf(text, sizeof(text), "%d", next); | ^~ -
upsfetch.c:158:42: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 170 [-Wformat-truncation=] 158 | "upsfetch: tcp_open failed for %s port %d", lhost, nis_port); | ^~ ~~~~~ -
multimon.c:195:61: warning: '<br />' directive output may be truncated writing 6 bytes into a region of size between 0 and 127 [-Wformat-truncation=] 195 | snprintf (temp, sizeof(temp), "%s %s<br />", | ^~~~~~