Christian Beier
495ffa3f3a
tightvnc-filetransfer: do not close stuff from within a thread
...
... as this crashes badly and the client is closed by the main thread machinery afterwards.
re #242
6 years ago
Christian Beier
2d939267a1
tightvnc-filetransfer: when creating a new download thread, make sure the previous one ends
...
re #242
6 years ago
Christian Beier
73cb96fec0
tightvnc-filetransfer: wait for download thread end in CloseUndoneFileDownload()
...
...and use it when deregistering the file transfer extension.
Closes #242
6 years ago
Christian Beier
f8912fee5a
tightvnc-filetransfer: refactor CloseUndoneFileTransfer() into two functions
...
...for closing upload and download separately.
re #242
6 years ago
Christian Beier
89419fb1a0
tightvnc-filetransfer: tie the download thread to the control structure
...
re #242
6 years ago
Christian Beier
ca2a5ac02f
tightvnc-filetransfer: fix heap use-after-free
...
One can only guess what the intended semantics were here, but as every
other rfbCloseClient() call in this file is followed by an immediate
return, let's assume this was forgotton in this case.
Anyway, don't forget to clean up to not leak memory.
Closes #241
6 years ago
Christian Beier
7368417239
Various #ifdef fixes to allow building with MSVC2014
8 years ago
Stefan Weil
9c7efb7633
Fix some typos (found by codespell)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
9 years ago
Johannes Schindelin
ad7a054e8c
Close unclosed comments ;-)
...
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
10 years ago
Daniel Cohen Gindi
a7f79b696e
These are UNIX headers, and are not available on MSVC
10 years ago
Daniel Cohen Gindi
7f8520d05c
A windows version for directory enumerations
...
Basically taken from https://github.com/danielgindi/FileDir with some adjustments
10 years ago
Daniel Cohen Gindi
42ff7fb85b
MSVC also has the __FUNCTION__ predefined
10 years ago
Daniel Cohen Gindi
51d0db7107
`CreateDirectory` might clash with the `CreateDirectoryA`/`CreateDirectoryW` macros on MSVC
10 years ago
Daniel Cohen Gindi
b2b705aa33
Fail when NULL is passed to CreateFileListInfo()
...
Passing NULL to sprintf() would most likely crash the program.
10 years ago
Cristian Rodríguez
c8b8938106
Fix buffer overflow
...
Signed-off-by: Cristian Rodríguez <crrodriguez@opensuse.org>
Signed-off-by: Christian Beier <dontmind@freeshell.org>
14 years ago
Christian Beier
558a58e039
Remove unneeded files concerning CVS.
...
We have a git repo nowadays and I guess we won't go back to CVS.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
14 years ago
runge
69cd710dd2
year++;
15 years ago
runge
c15b6165ab
tightvnc-filetransfer/rfbtightserver.c: enabled fix
...
for tight security type for RFB 3.8 (debian bug 517422.)
15 years ago
Vic Lee
a4cc897222
Fix various compilation warnings
...
Signed-off-by: Vic Lee <llyzs@163.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
15 years ago
runge
804335f9d2
Thread safety for zrle, zlib, tight.
...
Proposed tight security type fix for debian bug 517422.
16 years ago
runge
13ad9f4940
Pre-C99 declaration error.
18 years ago
runge
f7d48515fd
Add logging output to know when inside tightvnc-filetransfer functions.
18 years ago
runge
a255783ee0
N_ENC_CAPS check does not work if libz is not present.
18 years ago
dscho
bd12b13c91
remove unneeded file
19 years ago
steven_carr
ccdbe8f325
The great UltraVNC Compatibility Commit
19 years ago
runge
3c80351a1c
Make VPATH building work with -I $(top_srcdir) for rfb/rfb.h
19 years ago
rohit_99129
eb08d83d62
Added method to get extension specific client data
19 years ago
dscho
d3599be1b8
add functions to unregister extensions/security types
19 years ago
runge
603b5667b6
fix some non-gcc compiler warnings and signals in x11vnc
19 years ago
runge
8eb18f6cd8
fix deadlock from rfbReleaseExtensionIterator(), fix no libz/libjpeg builds, disable tightvnc-filetransfer if no libpthread, add --without-pthread option, rm // comments, set NAME_MAX if not defined, x11vnc: throttle load if fb update requests not taking place.
19 years ago
dscho
d15e35586b
kill BackChannel and CustomClientMessage: the new extension technique makes these hooks obsolete
19 years ago
dscho
60f1770e10
provide a list of the pseudo encodings understood by the extension
19 years ago
dscho
808b6a0b23
do it right: it is not DEFINES, but AM_CFLAGS
19 years ago
dscho
8490de3ff0
add enablePseudoEncoding() to rfbProtocolExtension
19 years ago
dscho
0a909fde7a
This monster commit contains support for TightVNC's file transfer protocol.
...
Thank you very much, Rohit!
19 years ago