[arch-commits] Commit in x11vnc/repos/extra-i686 (fix-buffer-overflows.patch)

Gaëtan Bisson bisson at archlinux.org
Sat Oct 8 07:05:00 UTC 2016


    Date: Saturday, October 8, 2016 @ 07:04:59
  Author: bisson
Revision: 277919

fix stuff

Deleted:
  x11vnc/repos/extra-i686/fix-buffer-overflows.patch

----------------------------+
 fix-buffer-overflows.patch |   26 --------------------------
 1 file changed, 26 deletions(-)

Deleted: fix-buffer-overflows.patch
===================================================================
--- fix-buffer-overflows.patch	2016-10-08 07:01:05 UTC (rev 277918)
+++ fix-buffer-overflows.patch	2016-10-08 07:04:59 UTC (rev 277919)
@@ -1,26 +0,0 @@
-diff -Naur x11vnc-0.9.13-ori/x11vnc/win_utils.c x11vnc-0.9.13/x11vnc/win_utils.c
---- x11vnc-0.9.13-ori/x11vnc/win_utils.c	2016-10-07 23:26:03.248600761 +0200
-+++ x11vnc-0.9.13/x11vnc/win_utils.c	2016-10-07 23:26:51.919256706 +0200
-@@ -262,8 +262,8 @@
- 	}
- 
- 	last_snap = now;
--	if (num > stack_list_len + blackouts) {
--		int n = 2*num;
-+	if (num + blackouts > stack_list_len) {
-+		int n = 2 * (num + blackouts);
- 		free(stack_list);
- 		stack_list = (winattr_t *) malloc(n*sizeof(winattr_t));
- 		stack_list_len = n;
-diff -Naur x11vnc-0.9.13-ori/x11vnc/xrecord.c x11vnc-0.9.13/x11vnc/xrecord.c
---- x11vnc-0.9.13-ori/x11vnc/xrecord.c	2016-10-07 23:26:03.248600761 +0200
-+++ x11vnc-0.9.13/x11vnc/xrecord.c	2016-10-07 23:27:49.566700470 +0200
-@@ -964,7 +964,7 @@
- 	data = (char *)req;
- 	data += sz_xConfigureWindowReq;
- 
--	for (i=0; i<req->length; i++) {
-+	for (i = 0; i < req->length -  sz_xConfigureWindowReq / 4 && i < 4; i++) {
- 		unsigned int v;
- 		/*
- 		 * We use unsigned int for the values.  There were



More information about the arch-commits mailing list