K 10 svn:author V 6 pkubaj K 8 svn:date V 27 2020-11-29T02:16:28.769911Z K 7 svn:log V 763 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)); END