--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: jessie-pu: package synergy/1.4.16-1
- From: Joshua Honeycutt <joshua.honeycutt@gmail.com>
- Date: Fri, 10 Mar 2017 22:52:46 -0600
- Message-id: <20170311045246.GA21212@justice.honeycutt>
Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian.org@packages.debian.org
Usertags: pu
Hi,
I'm proposing this update to fix a crash in the synergy client on arm
arch.
Fix migrated to testing (2017-2-20) and was fixed in upstream
version 1.8.2 (2016-8-4).
Regards,
Joshua
diff -Nru synergy-1.4.16/debian/changelog synergy-1.4.16/debian/changelog
--- synergy-1.4.16/debian/changelog 2014-03-16 17:58:42.000000000 -0500
+++ synergy-1.4.16/debian/changelog 2017-03-10 21:03:12.000000000 -0600
@@ -1,3 +1,10 @@
+synergy (1.4.16-1+deb8u1) jessie; urgency=medium
+
+ * Added ensure_non00_cursor.patch to fix a crash when synergyc starts.
+ Closes: #854567
+
+ -- Joshua Honeycutt <joshua.honeycutt@gmail.com> Fri, 10 Mar 2017 20:12:42 -0600
+
synergy (1.4.16-1) unstable; urgency=low
* New upstream version.
diff -Nru synergy-1.4.16/debian/patches/ensure_non00_cursor.patch synergy-1.4.16/debian/patches/ensure_non00_cursor.patch
--- synergy-1.4.16/debian/patches/ensure_non00_cursor.patch 1969-12-31 18:00:00.000000000 -0600
+++ synergy-1.4.16/debian/patches/ensure_non00_cursor.patch 2017-03-10 21:03:12.000000000 -0600
@@ -0,0 +1,33 @@
+Description: Upstream fix for synergyc crash when createBlankCursor tries to create a 0x0 cursor.
+Origin: https://github.com/symless/synergy/commit/723a8a919570b3e3faa5ac430e675f14945e1951
+Bug-Debian: https://bugs.debian.org/854567
+Bug: https://github.com/symless/synergy/issues/5322
+Bug: https://github.com/symless/synergy/issues/5068
+Bug: https://github.com/symless/synergy/issues/5087
+Bug: https://github.com/symless/synergy/issues/5504
+Author: Joshua Honeycutt <joshua.honeycutt@gmail.com>
+Forwarded: not-needed
+Last-Update: 2017-02-09
+
+--- a/src/lib/platform/CXWindowsScreen.cpp
++++ b/src/lib/platform/CXWindowsScreen.cpp
+@@ -33,6 +33,7 @@
+ #include "TMethodEventJob.h"
+ #include <cstring>
+ #include <cstdlib>
++#include <algorithm>
+ #if X_DISPLAY_MISSING
+ # error X11 is required to build synergy
+ #else
+@@ -1660,8 +1661,10 @@
+ // this seems just a bit more complicated than really necessary
+
+ // get the closet cursor size to 1x1
+- unsigned int w, h;
++ unsigned int w = 0, h = 0;
+ XQueryBestCursor(m_display, m_root, 1, 1, &w, &h);
++ w = std::max(1u, w);
++ h = std::max(1u, h);
+
+ // make bitmap data for cursor of closet size. since the cursor
+ // is blank we can use the same bitmap for shape and mask: all
diff -Nru synergy-1.4.16/debian/patches/series synergy-1.4.16/debian/patches/series
--- synergy-1.4.16/debian/patches/series 2014-03-16 15:13:23.000000000 -0500
+++ synergy-1.4.16/debian/patches/series 2017-03-10 21:03:12.000000000 -0600
@@ -1,3 +1,4 @@
+ensure_non00_cursor.patch
system-cryptopp.patch
cprotocolutil-writef.patch
versioncheck-disable.patch
--- End Message ---