Commit Graph

1677 Commits (6239c521911f3a596bc02c109a9857bc9ea9b3f6)
 

Author SHA1 Message Date
Andreas Weigel aac95a9dcf
fix overflow and refactor websockets decode (Hybi)
fix critical heap-based buffer overflow which allowed easy modification
of a return address via an overwritten function pointer

fix bug causing connections to fail due a "one websocket frame = one
ws_read" assumption, which failed with LibVNCServer-0.9.11

refactor websocket Hybi decode to use a simple state machine for
decoding of websocket frames
8 years ago
Christian Beier 0fcd4a3b52 Merge pull request #175 from simonwaterman/x509verify
Added support for X509 server certificate verification
8 years ago
Christian Beier edd1acec7c Merge pull request #176 from simonwaterman/x509verify-openssl
X509 certificate verification for OpenSSL
8 years ago
Christian Beier 9485359451 Merge pull request #178 from lioncash/leak
font: Fix a small resource leak in a failure case in rfbLoadConsoleFont()
8 years ago
Lioncash c550e1ac69 font: Fix a small resource leak in a failure case in rfbLoadConsoleFont()
The file handle wouldn't be closed in this instance.
8 years ago
simon 2c87a631fa X509 certificate verification for OpenSSL 8 years ago
simon cc10eab7eb Removed comment left over from development 8 years ago
simon cc69ee96e1 Modified certificate verification for compatibility with GnuTLS 2.12.23 8 years ago
Christian Beier c80879ee69
CMake: add all function checks that used to be in configure.ac
Fixes #174
8 years ago
Christian Beier 81d5b844ed
CMake: properly name rfbconfig.h cmake template 8 years ago
Christian Beier 21ac080383
TravisCI: point OSX CMake to OpenSSL root dir 8 years ago
Christian Beier 5e6a0daed5
Merge branch 'tmcqueengit push origin master-materials-patch-1' 8 years ago
Christian Beier 7ccae55b59
CMake: include a FindFFMPEG module and use it
Thankfully taken from https://github.com/robotology/ycm/blob/master/find-modules/FindFFMPEG.cmake
8 years ago
tmcqueen-materials ecb81d0e75 Update vnc2mpg.c
correct mistaken references to update_time...
8 years ago
simon 6c312aaf5b Added support for X509 server certificate verification as part of the handshake process. 8 years ago
Christian Beier fc2899af7a
CMake: set LIBVNCSERVER_HAVE_FORK in rfbconfig.h if fork() found 8 years ago
Christian Beier 2197b415f2
CMake: set LIBVNCSERVER_HAVE_LIBSSL in rfbconfig.h if OpenSSL found 8 years ago
Christian Beier 6d4bb07ea6
CMake: detect mmap() and write result to rfbconfig.h 8 years ago
tmcqueen-materials 709c8ea862 Update vnc2mpg.c
This update makes the example work on versions of ffmpeg newer than "ancient," fixes a bunch of bugs in the process, and with better documentation of the pitfalls.
8 years ago
Christian Beier 32301cb73f
Merge branch 'dborth-patch-1' 8 years ago
dborth 652f5a4b1c
Set trueColour flag to 1 instead of 255
It turns out some server implementations (namely VMware ESXi 6.5) expect
1 as the only non-zero value for the SetPixelFormat message whereas the protocol
states every non-zero value is valid
(https://github.com/rfbproto/rfbproto/blob/master/rfbproto.rst#setpixelformat).

Anyway, setting this to 1 shouldn't hurt.

Fixes #141
8 years ago
Christian Beier ef97186023
CMake: automatically build androidvncserver when crosscompiling for Android 8 years ago
Christian Beier 80ad74f761
Fix building for Android and add build instructions to README 8 years ago
Christian Beier 5b920be490
CMake: when crosscompiling for Android, don't look for systemd 8 years ago
Christian Beier ec6d0f7259
Fix a compiler warning 8 years ago
Christian Beier 0d5d16b4a7
CMake: only build TurboJPEG unit tests if lib has jpeg support 8 years ago
Christian Beier 9d37f15992
AppVeyorCI: change libpng download link to sth that works 8 years ago
Christian Beier a17a35a834
Merge branch 'ldmnyblzs-circle' 8 years ago
Christian Beier e03b5750f8
Merge branch 'circle' of https://github.com/ldmnyblzs/libvncserver into ldmnyblzs-circle
Conflicts:
	libvncclient/rfbproto.c
8 years ago
Christian Beier 0d0a2fc2b5
Update TODO, at least a bit 8 years ago
Christian Beier 365cc425b4 AppVeyorCI: use static zlib and libpng 8 years ago
Christian Beier 06978dee89 CMake: remove check for C++ compiler
We don't have any C++ sources.
8 years ago
Christian Beier 3500b11077 CI: let tests output to console on failure 8 years ago
Christian Beier b551e7017b rfbproto: re-add erroneously removed SOCKET definition 8 years ago
Christian Beier 26d84242cd AppVeyorCI: make ctest more verbose 8 years ago
Christian Beier 6cb0522ecb rfbInitServer: only init Winsock once 8 years ago
Christian Beier 7edd53ec27 rfbproto: remove SOCKET redefinitions 8 years ago
Christian Beier 5935c1be4f Add an rfbLogPError that shows something on WIN32 8 years ago
Christian Beier dbf5f9d514 Fix "rfbBool's size is not 1" runtime error with MSVC 8 years ago
Christian Beier 417eb7590b CMake: only add tjunittest if turbojpeg found 8 years ago
Christian Beier a2e124d87a
AppVeyorCI: really add the test config to AppVeyor 8 years ago
Christian Beier 9ef1f4c8ac
Revert "AppVeyorCI: supply a test config aka build type"
This reverts commit e18ec43c2d.
8 years ago
Christian Beier e18ec43c2d
AppVeyorCI: supply a test config aka build type 8 years ago
Christian Beier df9986ea43
README: add build instructions 8 years ago
Christian Beier 4408c18b1a
AppVeyorCI: run them tests 8 years ago
Christian Beier 90220264f5
test: tell MSVC to use math defines 8 years ago
Christian Beier 9ac695a4b9 Merge pull request #156 from The-42/drop-autotools
drop autotools
8 years ago
Christian Beier 261c3dbf87
TravisCI: run them unit tests 8 years ago
Christian Beier 9198875122
CMake: enable the tests that succeed 8 years ago
Christian Beier f21825bac0
CMake: add libm to tests only on Unix 8 years ago