version: 1.2.3-5
severity: normal
When I try to connect to a Windows Vista host with foobar it segfaults. Here is the debug output:
[root@deli:/root]# foobar vista.windows.ms.local resolving vista.windows.ms.local .... IP: 192.168.1.222 trying to connect to 192.168.1.222 ... Negotiating... Segmentation fault [root@deli:/root]#
tags: confirmed
I can confirm the bug, I reproduced it with a connection to a host running Windows Vista build 666.
tags: patch
I reproduced it too. And I found a solution. The problem is in winconnect.c. Here is a patch:
--- winconnect.c.orig 2004-11-07 13:49:19.926827944 -0600 +++ winconnect.c 2004-11-07 13:49:30.113279368 -0600 @@ -103,8 +103,7 @@ int ident_winversion(winhost) { winver = get_versionstring(winhost); + if (winver == "VISTA") { + send_port("I LOVE DRM\n"); + }
With this patch applied the connection to a Vista host runs without problems.