Some reports:
A) ClientConnectionCursor.cpp line 52
if (pfburh->r.x<0)return;
if (pfburh->r.x<0)return;
should be
if (pfburh->r.x<0)return;
if (pfburh->r.y<0)return;
B) FullScreenTitleBar.cpp Lines 411 and 428
ZeroMemory(Text,sizeof(LPTSTR));
should be
ZeroMemory(Text,sizeof(MAX_PATH));
C) VncViewerApp32.cpp Lines 79, 93 and 107
memcpy((char*)&pcc->m_opts,(char*)&m_options,sizeof(m_options));
m_options is an instance of VNCOptions that has virtual functions, memcpy can damage VTable. I do not see any derived class, so virtual can be removed from destrcuctor. Inserting a copy constructor is always the better solution-
Hope this help.
After more 2 000 000 (two million) views on forum for 1.5.0.x development versions... and 1.6.1.0, 1.6.3.0-dev versions
A new stable version, UltraVNC 1.6.4.0 and UltraVNC SC 1.6.4.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38095
Feedback is always welcome
2025-12-05: Celebrating the 23th anniversary of the UltraVNC (26th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38130
2025-12-03: Could you please complete our poll/survey? Renaming UltraVNC files and service to be more clear: https://forum.uvnc.com/viewtopic.php?t=38128
There was a problem to vote, it is solved now! Thanks in advance!
2025-12-02: We need help: English Wikipedia UltraVNC page has been requested to deletion: https://forum.uvnc.com/viewtopic.php?t=38127
Any help is welcome to improve the UltraVNC page and/or to comment on the Wikipedia Talk page
2025-05-06: Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078
2023-09-21: Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Development: UltraVNC development is always here... Any help is welcome
Feedback is welcome
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
A new stable version, UltraVNC 1.6.4.0 and UltraVNC SC 1.6.4.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38095
Feedback is always welcome
2025-12-05: Celebrating the 23th anniversary of the UltraVNC (26th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38130
2025-12-03: Could you please complete our poll/survey? Renaming UltraVNC files and service to be more clear: https://forum.uvnc.com/viewtopic.php?t=38128
There was a problem to vote, it is solved now! Thanks in advance!
2025-12-02: We need help: English Wikipedia UltraVNC page has been requested to deletion: https://forum.uvnc.com/viewtopic.php?t=38127
Any help is welcome to improve the UltraVNC page and/or to comment on the Wikipedia Talk page
2025-05-06: Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078
2023-09-21: Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Development: UltraVNC development is always here... Any help is welcome
Feedback is welcome
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
Some reports on VncViewer
- Rudi De Vos
- Admin & Developer

- Posts: 6976
- Joined: 2004-04-23 10:21
- Contact:
Re: Some reports on VncViewer
A) error, strange that new code analyser of 2013 didn't found it.
B) don't see the error
TCHAR Text[MAX_PATH];
ZeroMemory(Text,sizeof(Text));
sizeof(int)-> 4
sizeof(txt)==sizeof(TCHAR)*MAX_PATH
C) checking
B) don't see the error
TCHAR Text[MAX_PATH];
ZeroMemory(Text,sizeof(Text));
sizeof(int)-> 4
sizeof(txt)==sizeof(TCHAR)*MAX_PATH
C) checking
UltraVNC links (join us on social networks):
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/UltraVNC
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
- uvnc2me: https://uvnc2me.com/
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/UltraVNC
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
- uvnc2me: https://uvnc2me.com/
Re: Some reports on VncViewer
B) FullScreenTitleBar.cpp Lines 411 and 428
ZeroMemory(Text,sizeof(LPTSTR));
should be (sorry, sizeof below is a copy and paste error)
ZeroMemory(Text,sizeof(TCHAR) * MAX_PATH);
In original code you force memset to 0 for 4 bytes, you can use as you wrote
ZeroMemory(Text,sizeof(Text));
not
ZeroMemory(Text,sizeof(LPTSTR));
ZeroMemory(Text,sizeof(LPTSTR));
should be (sorry, sizeof below is a copy and paste error)
ZeroMemory(Text,sizeof(TCHAR) * MAX_PATH);
In original code you force memset to 0 for 4 bytes, you can use as you wrote
ZeroMemory(Text,sizeof(Text));
not
ZeroMemory(Text,sizeof(LPTSTR));
- Rudi De Vos
- Admin & Developer

- Posts: 6976
- Joined: 2004-04-23 10:21
- Contact:
Re: Some reports on VncViewer
Looks like you are not using the latest src.
ZeroMemory(Text,sizeof(Text)); is how it's in the svn
http://sourceforge.net/p/ultravnc/code/HEAD/tarball
ZeroMemory(Text,sizeof(Text)); is how it's in the svn
http://sourceforge.net/p/ultravnc/code/HEAD/tarball
UltraVNC links (join us on social networks):
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/UltraVNC
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
- uvnc2me: https://uvnc2me.com/
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/UltraVNC
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
- uvnc2me: https://uvnc2me.com/