svn commit: r431442 - head/x11-drivers/xf86-video-sis/files

Baptiste Daroussin bapt at FreeBSD.org
Fri Jan 13 23:30:00 UTC 2017


Author: bapt
Date: Fri Jan 13 23:29:58 2017
New Revision: 431442
URL: https://svnweb.freebsd.org/changeset/ports/431442

Log:
  Add patch to fix an uninitialized variable found in the SiS driver
  
  PR:		214590
  Submitted by:	matthew at reztek.cz

Added:
  head/x11-drivers/xf86-video-sis/files/patch-src_init301.c   (contents, props changed)

Added: head/x11-drivers/xf86-video-sis/files/patch-src_init301.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-drivers/xf86-video-sis/files/patch-src_init301.c	Fri Jan 13 23:29:58 2017	(r431442)
@@ -0,0 +1,11 @@
+--- src/init301.c.orig	2015-11-19 15:53:05.412011000 +0100
++++ src/init301.c	2015-11-19 15:53:24.734403000 +0100
+@@ -446,7 +446,7 @@ SiS_CR36BIOSWord23d(struct SiS_Private *
+ void
+ SiS_DDC2Delay(struct SiS_Private *SiS_Pr, unsigned int delaytime)
+ {
+-   unsigned int i, j;
++   unsigned int i, j = 0;
+ 
+    for(i = 0; i < delaytime; i++) {
+       j += SiS_GetReg(SiS_Pr->SiS_P3c4,0x05);


More information about the svn-ports-all mailing list