diff options
| author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2020-11-29 02:16:28 +0000 |
|---|---|---|
| committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2020-11-29 02:16:28 +0000 |
| commit | ccdc8ee0454091e55dd83f2890b4aa0557cd4d09 (patch) | |
| tree | d995c615031c6254feb6efb65f9166ace54b269a /math/lrslib/files/patch-makefile | |
| parent | New port: misc/xd-rust: Tool that dumps binary input in a variety of formats (diff) | |
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));
Notes
Notes:
svn path=/head/; revision=556545
Diffstat (limited to 'math/lrslib/files/patch-makefile')
0 files changed, 0 insertions, 0 deletions
