ANNOUNCE: lsh-2.0.4

[email protected] (Niels Möller) Wed, 05 Sep 2007 21:15:44 +0200
Newsgroups gmane.network.lsh.bugs
Message-ID <[email protected]>
This is a pure bugfix release, fixing the x11 forwarding bug discussed
recently on this list.

News for the 2.0.4 release

	Fixed x11 forwarding bug in the lsh client.

Licensing: I don't find it appropriate to make any licensing change
for a single-line update like this. Hence, like all previous versions
of lsh, this version is released under "GNU GPL version 2 or (at your
option) later". However, future versions will most likely be released
under GPL version 3.

Available at

  http://www.lysator.liu.se/~nisse/archive/lsh-2.0.4.tar.gz
  ftp://ftp.lysator.liu.se/pub/security/lsh/lsh-2.0.4.tar.gz

or apply the below patch to lsh-2.0.3.

Regards,
/Niels

diff -u -r1.892 -r1.893.2.1
--- ChangeLog	8 May 2006 19:18:34 -0000	1.892
+++ ChangeLog	5 Sep 2007 18:32:59 -0000	1.893.2.1
@@ -1,3 +1,15 @@
+2007-09-05  Niels M=F6ller  <[email protected]>
+
+	* src/client_x11.c (do_client_channel_x11_receive): Fixed parser
+	bookkeeping. Was broken before the 1.5.4 release. Problem reported
+	by Kaloian Doganov.
+
+2006-05-09  Niels M=F6ller  <[email protected]>
+
+	* configure.ac: Bumped version number to 2.0.4.
+
+	* Released lsh-2.0.2.
+=09
 2006-05-08  Niels M=F6ller  <[email protected]>
=20
 	* doc/ssh-conv.1: Changed to ordinary line breaks in example
diff -u -r1.126 -r1.126.2.1
--- NEWS	8 May 2006 20:28:30 -0000	1.126
+++ NEWS	5 Sep 2007 18:51:38 -0000	1.126.2.1
@@ -1,3 +1,7 @@
+News for the 2.0.4 release
+
+	Fixed x11 forwarding bug in the lsh client.
+
 News for the 2.0.3 release
=20
 	At startup, lshd now tries to close any spurious open file
diff -u -r1.63 -r1.64
--- configure.ac	29 Apr 2006 20:00:10 -0000	1.63
+++ configure.ac	9 May 2006 18:16:30 -0000	1.64
@@ -1,5 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT([lsh], [2.0.3], [[email protected]])=20
+AC_INIT([lsh], [2.0.4], [[email protected]])=20
 AC_PREREQ(2.52)
 AC_CONFIG_SRCDIR([src/lsh.c])
 # Needed to stop autoconf from looking for files in parent directories.
diff -u -r1.26 -r1.26.4.1
--- src/client_x11.c	16 Nov 2003 18:40:37 -0000	1.26
+++ src/client_x11.c	5 Sep 2007 18:32:48 -0000	1.26.4.1
@@ -211,6 +211,7 @@
         /* The small initial window size should ensure that all the
 	   data fits. */
 	lsh_string_write_string(self->buffer, self->i, data);
+	self->i +=3D lsh_string_length(data);
         lsh_string_free(data);
=20
 	buffer =3D lsh_string_data(self->buffer);