Snippets for apcupsd 3.14.14 from Nix aarch64-linux
Sourced from https://hydra.nixos.org/log/90fgb8xzng1wbxy6432sjy5z4mzp5jif-apcupsd-3.14.14.drv.
-
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); | ^~ ~~~~~ -
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); | ^~ ~~~~~ -
upsimage.c:77:44: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 77 | (void) snprintf(text, sizeof(text), "%d", next); | ^ -
upsimage.c:81:44: warning: '__builtin___snprintf_chk' 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); | ^~