Date: Wed, 9 Dec 2020 02:46:43 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r557337 - head/security/openssh-portable Message-ID: <202012090246.0B92khea024281@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Wed Dec 9 02:46:43 2020 New Revision: 557337 URL: https://svnweb.freebsd.org/changeset/ports/557337 Log: security/openssh-portable@gssapi: fix build on GCC architectures gss-genr.c: In function 'ssh_gssapi_kex_mechs': gss-genr.c:175:9: error: 'strncpy' specified bound depends on the length of the source argument [-Werror=stringop-overflow=] 175 | cp = strncpy(s, kex, strlen(kex)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors Modified: head/security/openssh-portable/Makefile Modified: head/security/openssh-portable/Makefile ============================================================================== --- head/security/openssh-portable/Makefile Wed Dec 9 02:45:51 2020 (r557336) +++ head/security/openssh-portable/Makefile Wed Dec 9 02:46:43 2020 (r557337) @@ -188,7 +188,7 @@ RC_SCRIPT_NAME= openssh VERSION_ADDENDUM_DEFAULT?= ${OPSYS}-${PKGNAME} CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}} -CFLAGS_gcc= -Wno-stringop-truncation +CFLAGS_gcc= -Wno-stringop-truncation -Wno-stringop-overflow post-patch: @${REINPLACE_CMD} \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012090246.0B92khea024281>