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öller <nisse(a)lysator.liu.se>
+
+ * 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öller <nisse(a)lysator.liu.se>
+
+ * configure.ac: Bumped version number to 2.0.4.
+
+ * Released lsh-2.0.2.
+
2006-05-08 Niels Möller <nisse(a)lysator.liu.se>
* 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
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], [bug-lsh(a)gnu.org])
+AC_INIT([lsh], [2.0.4], [bug-lsh(a)gnu.org])
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 += lsh_string_length(data);
lsh_string_free(data);
buffer = lsh_string_data(self->buffer);