Package: vinagre / 3.4.2-2

Metadata

Package Version Patches format
vinagre 3.4.2-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
fix vnc through ssh.patch | (download)

vinagre/vinagre-ssh.c | 50 34 + 16 - 0 !
1 file changed, 34 insertions(+), 16 deletions(-)

 fix vnc tunneling through ssh
 Use GPollableInputStream when checking for SSH errors. Otherwise the read on
 stderr blocks, causing the SSH connection to timeout.
 .
 The original code sets O_NONBLOCK on stderr, but this does not work: the flag
 is not propagated to the corresponding GDataInputStream (at least with glib >=
 2.32; it may have worked with older versions).
 .
 As a side effect, the patch fixes a minor memory leak in
 vinagre-ssh.c:look_for_stderr_errors() where the "line" variable was not
 correctly freed in all cases.