Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Aug 2016 15:02:16 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r420797 - head/x11/nvidia-driver
Message-ID:  <201608241502.u7OF2Gmb079406@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Wed Aug 24 15:02:16 2016
New Revision: 420797
URL: https://svnweb.freebsd.org/changeset/ports/420797

Log:
  Remove another no-op sed(1) in-place patch: none of the currently supported
  drivers attempt to allocate fixed width buffer bus_type[] on stack now.

Modified:
  head/x11/nvidia-driver/Makefile

Modified: head/x11/nvidia-driver/Makefile
==============================================================================
--- head/x11/nvidia-driver/Makefile	Wed Aug 24 14:50:17 2016	(r420796)
+++ head/x11/nvidia-driver/Makefile	Wed Aug 24 15:02:16 2016	(r420797)
@@ -124,9 +124,6 @@ post-patch: .SILENT
 	${REINPLACE_CMD} -e 's/d_thread_t/struct thread/' \
 		${WRKSRC}/src/nvidia_ctl.c ${WRKSRC}/src/nvidia_dev.c \
 		${WRKSRC}/src/nvidia_linux.c
-# Fix stack buffer overflow in nvidia_sysctl_bus_type()
-	${REINPLACE_CMD} -e 's/8 bus_type\[4\]/8 bus_type[8]/' \
-		${WRKSRC}/src/nvidia_sysctl.c
 # Respect WITHOUT_LINUX setting
 	${REINPLACE_CMD} -e 's/exists(\/.*/& \&\& !defined(WITHOUT_LINUX)/' \
 		${WRKSRC}/lib/Makefile



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608241502.u7OF2Gmb079406>