<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/libvncserver/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/libvncserver/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 28 Nov 2012 09:12:26 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/libvncserver/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>rfbScreenCleanup() free frameBuffer issue.</title><link>https://sourceforge.net/p/libvncserver/bugs/44/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;in rfbScreenCleanup(), free(ptr-&amp;gt;frameBuffer); while not check null pointer. This may cause crash.&lt;br /&gt;
Because in my Android server example, to improve performance, I directly set screen-&amp;gt;frameBuffer as fbmmap!&lt;br /&gt;
So in cleanup(), I munmap(fbmmap), then this memory pointer is not valid anymore. And then crash occurs while followed invoking rfbScreenCleanup().&lt;br /&gt;
To avoid crash, after munmap(fbmmap), I have to allocate some bytes memory and assign it to screen-&amp;gt;frameBuffer for free.&lt;br /&gt;
I think in rfbScreenCleanup(), or do not free frameBuffer and let it free by userself or check it's validity before call free.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 28 Nov 2012 09:12:26 -0000</pubDate><guid>https://sourceforge.net7fe9ee4955eb8277a95a2f10ec58c7365bfa114c</guid></item><item><title>Unknown authentication scheme</title><link>https://sourceforge.net/p/libvncserver/bugs/43/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;From Ubuntu 12.04 trying to connect with remmina to win servers with free RealVNC 4 and we have the errors -&amp;gt; 1) Unknown authentication scheme from VNC server: 5&lt;br /&gt;
2) Another error is : Too many security failures&lt;/p&gt;
&lt;p&gt;This would be very helpful for us if it was fixed.&lt;br /&gt;
Thank you.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jobi</dc:creator><pubDate>Tue, 02 Oct 2012 10:28:59 -0000</pubDate><guid>https://sourceforge.net4ebd15796837c5b15e607693f4e5d7beeb04529c</guid></item><item><title>Unknown authentication scheme</title><link>https://sourceforge.net/p/libvncserver/bugs/42/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;From Ubuntu 12.04 trying to connect with remmina to win servers with free RealVNC 4 and we have the errors -&amp;gt; 1) Unknown authentication scheme from VNC server: 5&lt;br /&gt;
2) Another error is : Too many security failures&lt;/p&gt;
&lt;p&gt;This would be very helpful for us if it was fixed.&lt;br /&gt;
Thank you.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jobi</dc:creator><pubDate>Tue, 02 Oct 2012 06:53:42 -0000</pubDate><guid>https://sourceforge.net5aca015ecbb8c283bd3092d86a113a9d7d29ad86</guid></item><item><title>noVNC not working with iOS Safari  and desktop Safari v5</title><link>https://sourceforge.net/p/libvncserver/bugs/40/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;none of the simple example works with noVNC if using safari 5 (e.g. ipad 3 browser).  Safari 6 (shipped with Lion) works fine.&lt;/p&gt;
&lt;p&gt;Chrome/Firefox works ok.&lt;/p&gt;
&lt;p&gt;noVNC connects ok, but there is no screen shown up after connection.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 07 Aug 2012 21:09:59 -0000</pubDate><guid>https://sourceforge.netb85dbd2fc8d6d04f86cbb610dd26d4c72f8c4fb7</guid></item><item><title>socket not work on windows</title><link>https://sourceforge.net/p/libvncserver/bugs/39/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I built libvnc on ubuntu with mingw32,  and I run example/example.exe on both Windows XP and Windows 7.  I got the following error:&lt;br /&gt;
httpCheckFds: select: Unknown error&lt;br /&gt;
rfbCheckFds: select: Unknow error,&lt;br /&gt;
WSAGetLastError() return 10038. &lt;/p&gt;
&lt;p&gt;the reason is for Windows, SOCKET was not defined int, it is unsigned int. you can find it in&lt;br /&gt;
/usr/i586-mingw32msvc/include/winsock2.h, (on my ubuntu) or&lt;br /&gt;
ftp://ftp.microsoft.com/bussys/wINSOCK/winsock2/winsock2.h&lt;/p&gt;
&lt;p&gt;typedef unsigned int    u_int;&lt;br /&gt;
typedef unsigned long   u_long;&lt;/p&gt;
&lt;p&gt;/*&lt;br /&gt;
* The new type to be used in all&lt;br /&gt;
* instances which refer to sockets.&lt;br /&gt;
*/&lt;br /&gt;
#ifdef _WIN64&lt;br /&gt;
typedef UINT_PTR        SOCKET;&lt;br /&gt;
#else&lt;br /&gt;
typedef u_int           SOCKET;&lt;br /&gt;
#endif&lt;/p&gt;
&lt;p&gt;So, the following code will always get to run：&lt;br /&gt;
if (rfbScreen-&amp;gt;httpSock &amp;gt;= 0) {&lt;br /&gt;
FD_SET(rfbScreen-&amp;gt;httpSock, &amp;amp;fds);&lt;br /&gt;
}&lt;br /&gt;
even the value of httpSock is -1.&lt;br /&gt;
--- a/rfb/rfb.h&lt;br /&gt;
+++ b/rfb/rfb.h&lt;br /&gt;
I did the following chang: &lt;br /&gt;
#ifdef __MINGW32__&lt;br /&gt;
#undef SOCKET&lt;br /&gt;
#include &amp;lt;winsock2.h&amp;gt;&lt;br /&gt;
+#undef SOCKET&lt;br /&gt;
+#define SOCKET int&lt;br /&gt;
#ifdef LIBVNCSERVER_HAVE_WS2TCPIP_H&lt;br /&gt;
#undef socklen_t&lt;br /&gt;
#include &amp;lt;ws2tcpip.h&amp;gt;&lt;/p&gt;
&lt;p&gt;and tested on both windows7 and windows xp. it works. &lt;br /&gt;
but if some new file don't include rfb.h, then it will met this bug again. &lt;br /&gt;
in winsock2.h&lt;br /&gt;
#define INVALID_SOCKET  (SOCKET)(~0), &lt;br /&gt;
it is -1.&lt;br /&gt;
So we'd better to change all of the if condition test, to compare with INVALID_SOCKET. not &amp;gt;= 0.&lt;/p&gt;
&lt;p&gt;and another issue is, on Windows, we can't use read to recv packets. we have to use recv. So I also got &lt;br /&gt;
httpProcessInput: read: No error&lt;br /&gt;
I did following changes: &lt;br /&gt;
--- a/libvncserver/httpd.c&lt;br /&gt;
+++ b/libvncserver/httpd.c&lt;br /&gt;
@@ -300,8 +300,8 @@ httpProcessInput(rfbScreenInfoPtr rfbScreen)&lt;br /&gt;
return;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;-  got = read (rfbScreen-&amp;gt;httpSock, buf + buf_filled,&lt;br /&gt;
-              sizeof (buf) - buf_filled - 1);&lt;br /&gt;
+  got = recv (rfbScreen-&amp;gt;httpSock, buf + buf_filled,&lt;br /&gt;
+              sizeof (buf) - buf_filled - 1, 0);&lt;/p&gt;
&lt;p&gt;I tested on both Windows XP, and Windows7, it works. &lt;/p&gt;
&lt;p&gt;all of my testing are only run example. Thanks.&lt;/p&gt;
&lt;p&gt;I also upload my diff.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 18 Jul 2012 05:59:08 -0000</pubDate><guid>https://sourceforge.net69d804de9f591744a4a4a93048640cdcd2fa0c8a</guid></item><item><title>libvncserver not accepting link local addresses</title><link>https://sourceforge.net/p/libvncserver/bugs/38/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I'm just adding IPv6 support to VirtualBox and when trying to bind to a link local IPv6 address (the fe80:: ones), I can see this error:&lt;/p&gt;
&lt;p&gt;[X] orgasmatron: today root$ VBoxHeadless -s vmvboxdevel --vrde config&lt;br /&gt;
Oracle VM VirtualBox Headless Interface 4.1.51_OSE&lt;br /&gt;
(C) 2008-2012 Oracle Corporation&lt;br /&gt;
All rights reserved.&lt;/p&gt;
&lt;p&gt;IPv4: Address: (null), Port: 5999&lt;br /&gt;
IPv6: Address: fe80::5604:a6ff:fef1:73c6, Port: 5903&lt;br /&gt;
13/07/2012 19:31:56 Listening for VNC connections on TCP port 5999&lt;br /&gt;
13/07/2012 19:31:56 rfbListenOnTCP6Port: error in bind IPv6 socket: Invalid argument&lt;br /&gt;
VRDE server is listening on port 5999.&lt;br /&gt;
^C&lt;br /&gt;
[X] orgasmatron: today root$ &lt;/p&gt;
&lt;p&gt;When changing the address to a global one:&lt;/p&gt;
&lt;p&gt;[X] orgasmatron: today root$ VBoxHeadless -s vmvboxdevel --vrde config&lt;br /&gt;
Oracle VM VirtualBox Headless Interface 4.1.51_OSE&lt;br /&gt;
(C) 2008-2012 Oracle Corporation&lt;br /&gt;
All rights reserved.&lt;/p&gt;
&lt;p&gt;IPv4: Address: (null), Port: 5999&lt;br /&gt;
IPv6: Address: 2001:db8::dead:beef, Port: 5903&lt;br /&gt;
13/07/2012 19:36:05 Listening for VNC connections on TCP port 5999&lt;br /&gt;
13/07/2012 19:36:05 Listening for VNC connections on TCP6 port 5903&lt;br /&gt;
VRDE server is listening on port 5999.&lt;br /&gt;
^C&lt;br /&gt;
[X] orgasmatron: today root$ &lt;/p&gt;
&lt;p&gt;It's working. Bug or Feature?&lt;/p&gt;
&lt;p&gt;KR,&lt;/p&gt;
&lt;p&gt;Oliver&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oliver</dc:creator><pubDate>Fri, 13 Jul 2012 17:36:53 -0000</pubDate><guid>https://sourceforge.net7a204844f09f9049eef5b97075e8be9c0411bfad</guid></item><item><title>SONAME should be bumped</title><link>https://sourceforge.net/p/libvncserver/bugs/37/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Recent changes in libvncserver (i.e. commit 0a4f1bad, rfb/rfbclient.h) break ABI and could lead to some segfaults:&lt;/p&gt;
&lt;p&gt;Program received signal SIGSEGV, Segmentation fault.&lt;br /&gt;
[Switching to Thread 0x7fffe8ff4700 (LWP 4509)]&lt;br /&gt;
0x00007fffee40fc70 in ?? () from /usr/lib/libvncclient.so.0&lt;br /&gt;
(gdb) bt&lt;br /&gt;
#0  0x00007fffee40fc70 in ?? () from /usr/lib/libvncclient.so.0&lt;br /&gt;
#1  0x00007fffee418d5c in HandleRFBServerMessage () from /usr/lib/libvncclient.so.0&lt;br /&gt;
#2  0x00007fffee629a9b in ?? () from /usr/lib/remmina/plugins/remmina-plugin-vnc.so&lt;br /&gt;
#3  0x00007fffee62c142 in ?? () from /usr/lib/remmina/plugins/remmina-plugin-vnc.so&lt;br /&gt;
#4  0x00007fffee62c1e6 in ?? () from /usr/lib/remmina/plugins/remmina-plugin-vnc.so&lt;br /&gt;
#5  0x00007ffff43a6b40 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0&lt;br /&gt;
#6  0x00007ffff40f136d in clone () from /lib/x86_64-linux-gnu/libc.so.6&lt;br /&gt;
#7  0x0000000000000000 in ?? ()&lt;/p&gt;
&lt;p&gt;You should consider bumping SONAME to address this.&lt;/p&gt;
&lt;p&gt;Also see &lt;a href="http://anonscm.debian.org/gitweb/?p=users/dktrkranz/abi.git;a=tree;f=libvncserver/0.9.7_0.9.8" rel="nofollow"&gt;http://anonscm.debian.org/gitweb/?p=users/dktrkranz/abi.git;a=tree;f=libvncserver/0.9.7_0.9.8&lt;/a&gt; for further reference&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luca Falavigna</dc:creator><pubDate>Thu, 06 Oct 2011 22:04:17 -0000</pubDate><guid>https://sourceforge.nete1171ad6db03d694fb80d7881ae57b6aef8221ae</guid></item><item><title>libvncserver 0.9.7 password length bug</title><link>https://sourceforge.net/p/libvncserver/bugs/36/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In libvncserver-0.9.7, when using rfbScreen-&amp;gt;passwordCheck = rfbCheckPasswordByList, a password that is longer than the real password can be entered and as long as it starts with the original password it is accepted. This is also true when using a custom passwordCheck and rfbEncryptBytes.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;p&gt;Answer = password&lt;br /&gt;
Guess = password&lt;br /&gt;
ACCEPTED&lt;/p&gt;
&lt;p&gt;Answer = password&lt;br /&gt;
Guess = passwor&lt;br /&gt;
DENIED&lt;/p&gt;
&lt;p&gt;Answer = password&lt;br /&gt;
Guess = passwordsjg923trin8yrcgnubxyqweqe9qw87e9r8&lt;br /&gt;
ACCEPTED&lt;/p&gt;
&lt;p&gt;Brandon Holland&lt;br /&gt;
&lt;a href="http://brandon-holland.com" rel="nofollow"&gt;http://brandon-holland.com&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 22 Dec 2010 20:34:58 -0000</pubDate><guid>https://sourceforge.net04414addc3b7ec7000d5447456241b56edffed7e</guid></item><item><title>32 bpp and 32 depth SEGFAULT</title><link>https://sourceforge.net/p/libvncserver/bugs/35/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;29/11/2010 12:28:05 Pixel format for client 192.168.1.138:&lt;br /&gt;
29/11/2010 12:28:05   32 bpp, depth 32, little endian&lt;br /&gt;
29/11/2010 12:28:05   true colour: max r 255 g 255 b 255, shift r 0 g 8 b 16&lt;br /&gt;
29/11/2010 12:28:05 no translation needed&lt;br /&gt;
29/11/2010 12:28:05 rfbProcessClientNormalMessage: ignoring unsupported encoding type zlibhex&lt;br /&gt;
29/11/2010 12:28:05 Using ZRLE encoding for client 192.168.1.138&lt;br /&gt;
Segmentation fault&lt;/p&gt;
&lt;p&gt;When i a try to start a vncServer with 32bpp and the client connects i get a SEGFAULT from the library&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 29 Nov 2010 14:36:36 -0000</pubDate><guid>https://sourceforge.netf129fb82a8611e6d9ea1deb8d5ac8b06cbbfc460</guid></item><item><title>if (0)</title><link>https://sourceforge.net/p/libvncserver/bugs/34/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Continuation of: &lt;a href="https://sourceforge.net/tracker/?func=detail&amp;amp;atid=405858&amp;amp;aid=3044889&amp;amp;group_id=32584"&gt;https://sourceforge.net/tracker/?func=detail&amp;amp;atid=405858&amp;amp;aid=3044889&amp;amp;group_id=32584&lt;/a&gt;&lt;br /&gt;
It seems you closed that post and I cannot reply or submit a patch.&lt;br /&gt;
The problem is not solved.&lt;/p&gt;
&lt;p&gt;I only found out about this if (0) case because of a linker error from code included inside the if (0).&lt;br /&gt;
This does not get optimized away as you claim.&lt;br /&gt;
I am using GCC 4.4.4 and Binutils 2.20.&lt;/p&gt;
&lt;p&gt;If you do not close this, I can make a patch that changes all of those if (0) cases into comments when I get around to it.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">yerp</dc:creator><pubDate>Sun, 15 Aug 2010 18:33:50 -0000</pubDate><guid>https://sourceforge.net211c984e71168653495466e345e802805517972f</guid></item></channel></rss>