Snippets for slurm-wlm 26.05.5 from Fedora ppc64le
Sourced from https://kojipkgs.fedoraproject.org/packages/slurm/26.05.5/1.fc46/data/logs/ppc64le/build.log.
-
parsers.c:2681:31: warning: 'num' may be used uninitialized [-Wmaybe-uninitialized] 2681 | if ((num > INT32_MAX) || (num < INT32_MIN)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -
parsers.c:2771:31: warning: 'num' may be used uninitialized [-Wmaybe-uninitialized] 2771 | if ((num > INT32_MAX) || (num < INT32_MIN)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -
parsers.c:2782:31: warning: 'num' may be used uninitialized [-Wmaybe-uninitialized] 2782 | if ((num > INT32_MAX) || (num < INT32_MIN)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -
parsers.c:3055:31: warning: 'num' may be used uninitialized [-Wmaybe-uninitialized] 3055 | if ((num > INT32_MAX) || (num < INT32_MIN)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -
bb_info.c:309:41: warning: ‘B’ directive output may be truncated writing 1 byte into a region of size between 0 and 19 [-Wformat-truncation=] 309 | snprintf(buf, buf_size, "%"PRIu64"B", tmp64); | ^~~ -
libnss_slurm.c:206:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 206 | strncpy(buf, rpc_result->h_name, len_name + 1); | ^ -
libnss_slurm.c:215:17: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 215 | strncpy(buf, rpc_result->h_aliases[i], len_aliases + 1); | ^ -
libnss_slurm.c:312:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 312 | strncpy(buf, rpc_result->pw_name, len_name + 1); | ^ -
libnss_slurm.c:466:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 466 | strncpy(buf, gr_rpc_results[i]->gr_name, len_name + 1); | ^ -
pmi.c:913:9: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 913 | strncpy(kvs_recs[i].kvs_name, kvsname, PMI_MAX_KVSNAME_LEN); | ^ -
pmi.c:1938:17: warning: 'strncpy' output truncated copying between 0 and 52 bytes from a string of length 53 [-Wstringop-truncation] 1938 | strncpy(str, pmi_opt_str, *length-1); | ^