freebsd-ports/security/openssh-portable
Piotr Kubaj ccdc8ee045 security/openssh-portable: fix build on GCC architectures
loginrec.c:763:2: error: 'strncpy' output may be truncated copying 32 bytes from a string of length 511 [-Werror=stringop-truncation]
strncpy(utx->ut_user, li->username,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MIN_SIZEOF(utx->ut_user, li->username));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
loginrec.c: In function 'record_failed_login':
loginrec.c:1687:2: error: 'strncpy' specified bound 32 equals destination size [-Werror=stringop-truncation]
strncpy(ut.ut_user, username, sizeof(ut.ut_user));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
loginrec.c:1696:2: error: 'strncpy' specified bound 256 equals destination size [-Werror=stringop-truncation]
strncpy(ut.ut_host, hostname, sizeof(ut.ut_host));
2020-11-29 02:16:28 +00:00
..
files - Fix KERB_GSSAPI build; missing prototypes for DH openssl-compat. 2020-11-24 20:46:20 +00:00
distinfo - Update to 8.4p1 (skipped 8.3) 2020-11-16 19:39:34 +00:00
Makefile security/openssh-portable: fix build on GCC architectures 2020-11-29 02:16:28 +00:00
pkg-descr Update WWW 2020-08-15 17:12:08 +00:00
pkg-message
pkg-plist Install the moduli file as a @sample 2020-11-07 14:46:38 +00:00