Snippets for openssh 10.5p1 from Nix aarch64-linux
Sourced from https://hydra.nixos.org/log/55b31g919s7v0dlvd3hg25idfhdlf66d-openssh-10.5p1.drv.
-
log.c:395:53: warning: ': ' directive output may be truncated writing 2 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 395 | snprintf(fmtbuf, sizeof(fmtbuf), "%s: %s", msgbuf, suffix); | ^~ -
log.c:464:67: warning: '%ld' directive output may be truncated writing between 1 and 11 bytes into a region of size between 8 and 111 [-Wformat-truncation=] 464 | snprintf(tag, sizeof(tag), "%.48s:%.48s():%d (bin=%s, pid=%ld)", | ^~~ -
misc.c:775:40: warning: '%02llu' directive output may be truncated writing between 2 and 14 bytes into a region of size 9 [-Wformat-truncation=] 775 | snprintf(buf, TF_LEN, "%02lluw%01ud%02uh", week, day, hrs); | ^~~~~~ -
ssh-keygen.c:1068:55: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1023 [-Wformat-truncation=] 1068 | snprintf(comment, sizeof comment, "%s@%s", pw->pw_name, | ^~ 1069 | hostname); | ~~~~~~~~ -
ssh-keygen.c:338:41: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 39 [-Wformat-truncation=] 338 | "%u-bit %s, converted by %s@%s from OpenSSH", | ^~ 339 | sshkey_size(k), sshkey_type(k), 340 | pw->pw_name, hostname); | ~~~~~~~~ -
ssh-keygen.c:3906:55: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1023 [-Wformat-truncation=] 3906 | snprintf(comment, sizeof comment, "%s@%s", pw->pw_name, hostname); | ^~ ~~~~~~~~ -
scp.c:1532:56: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 2 and 4095 [-Wformat-truncation=] 1532 | (void) snprintf(path, sizeof path, "%s/%s", name, dp->d_name); | ^~