Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian....@packages.debian.org
Usertags: pu

Hi Release Team,

There's a segmentation fault bug[1] in the Jessie version of rdesktop.
As the fix is very easy, it would be nice to have in Jessie.

Thanks,
Laszlo/GCS
[1] http://bugs.debian.org/784634
diff -Nru rdesktop-1.8.2/debian/changelog rdesktop-1.8.2/debian/changelog
--- rdesktop-1.8.2/debian/changelog	2014-11-04 17:16:05.000000000 +0000
+++ rdesktop-1.8.2/debian/changelog	2015-05-07 17:57:13.000000000 +0000
@@ -1,3 +1,10 @@
+rdesktop (1.8.2-3+deb8u1) jessie; urgency=medium
+
+  * Fix sigsegv while using credssp and kerberos without specifying
+    domainname as argument (closes: #784634).
+
+ -- Laszlo Boszormenyi (GCS) <g...@debian.org>  Thu, 07 May 2015 17:45:10 +0000
+
 rdesktop (1.8.2-3) unstable; urgency=low
 
   * Backport fix to handle Windows key (closes: #768066).
diff -Nru rdesktop-1.8.2/debian/patches/15_credssp_and_kerberos.patch rdesktop-1.8.2/debian/patches/15_credssp_and_kerberos.patch
--- rdesktop-1.8.2/debian/patches/15_credssp_and_kerberos.patch	1970-01-01 00:00:00.000000000 +0000
+++ rdesktop-1.8.2/debian/patches/15_credssp_and_kerberos.patch	2015-05-07 17:56:58.000000000 +0000
@@ -0,0 +1,23 @@
+Description: credssp and kerberos fix
+ Fix sigsegv while using credssp and kerberos without specifying domainname
+ as argument.
+Origin: upstream, http://sourceforge.net/p/rdesktop/code/1824/
+Forwarded: not-needed
+Author: Henrik Andersson <hea...@users.sourceforge.net>
+Bug-Debian: https://bugs.debian.org/784634
+Last-Update: 2014-08-27
+
+---
+
+--- rdesktop-1.8.2.orig/rdp.c
++++ rdesktop-1.8.2/rdp.c
+@@ -189,6 +189,9 @@ rdp_send_data(STREAM s, uint8 data_pdu_t
+ void
+ rdp_out_unistr(STREAM s, char *string, int len)
+ {
++	if (string == NULL || len == 0)
++		return;
++
+ #ifdef HAVE_ICONV
+ 	size_t ibl = strlen(string), obl = len + 2;
+ 	static iconv_t iconv_h = (iconv_t) - 1;
diff -Nru rdesktop-1.8.2/debian/patches/series rdesktop-1.8.2/debian/patches/series
--- rdesktop-1.8.2/debian/patches/series	2014-11-04 17:09:42.000000000 +0000
+++ rdesktop-1.8.2/debian/patches/series	2015-05-07 17:52:58.000000000 +0000
@@ -20,3 +20,4 @@
 20_update_manpage.dpatch
 80_handle_nostrip_option.dpatch
 Fix_constant_naming_and_enabled_windowskey_by_default.patch
+15_credssp_and_kerberos.patch

Reply via email to