R20.3 file transfer bug and fix

"Yury Averkiev" <[email protected]> Mon, 9 May 2005 18:20:49 +0800
Newsgroups gmane.network.vnc.ultravnc.general
Organization SmartCode Solutions
Message-ID <[email protected]>
Guys,
there is a buffer overflow bug at FileTransfer.cpp:3088 there you declare 
char szRemoteStatus[64];
 
and few lines down, there is a buffer overrun since you write more then 64
bytes to the buffer.
 
By the way, if I were you, I would trash the file transfer dialog code
completely and rewritten it from scratch. In his current state, the source
code doesn't look any good at all...

Best regards,
Yury

SmartCode Solutions
WWW:  <http://www.s-code.com/> http://www.s-code.com
Tel: +1 (650) 276-0434 or +65 91125904
Fax: +1 (801) 904-5158