| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Fix memory access error in camera.c example
|
|/ |
|
|\
| |
| | |
Ignore null pointers in FillRectangle() and CopyRectangleFromRectangle()
|
| | |
|
|/ |
|
| |
|
| |
|
|\
| |
| | |
Fix some recently introduced regressions
|
| |
| |
| |
| |
| |
| |
| |
| | |
Commit 92f558482d94c5152174a1983a40863bd6b07911 added stdint.h to get
the type definitions, but included it after the first use of int8_t in
builds for Windows.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Commit 97f442ef2aa65ade6bea11e90054c57b90abbaca tried to improve the
endianness detection, but introduced a typo and problems for Windows
builds (no endian.h, different definition of LIBVNCSERVER_WORDS_BIGENDIAN).
Fix both issues.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
|\ \
| |/
|/| |
Fix some typos (found by codespell)
|
|/
|
|
| |
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
| |
|
| |
|
| |
|
|
|
|
| |
This reverts commit 9aa9ac59b4cb10bfca93456a3098e348de172d7f.
|
|
|
|
|
|
|
|
| |
This reverts commit d891478ec985660c03f95cffda0e6a1ad4ba350c.
Conflicts:
configure.ac
libvncclient/h264.c
|
|\
| |
| | |
httpd: disallow directory traversal
|
| |
| |
| |
| | |
Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
|
|\ \
| | |
| | | |
Avoid divide-by-zero in raw encoding (OSX RealVNC)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
OS X RealVNC server crashes out Remmina because the server can provoke
bytesPerLine to be zero. Assume this is coding for zero lines.
The condition could be checked before the calculation of bytesPerLine.
I don’t understand the preconditions of this code to say one way or the
other.
|
|\ \ \
| | | |
| | | | |
prevent segfaults due to uninitialized memory
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
configure.ac: Use AC_CHECK_TOOL for cross-compiling support.
|
|/ / /
| | |
| | |
| | |
| | | |
When cross-compiling the ar program has the appropriate prefix prepended.
Respect that here and have autotools autodetect the appropriate tool.
|
| | | |
|
|\ \ \
| | | |
| | | | |
Replace SHA1 implementation with the one from RFC 6234.
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
fixing SOVERSION and .so VERSION
|
|/ / / |
|
| | | |
|
|\ \ \
| | |/
| |/| |
Fix handling of multiple VNC commands per websockets frame
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- When processing input, check if there is any extra data
pending in the internal websocket frame and SSL buffers.
- Prevents input events lagging behind because they get
stuck in one of the buffers.
Data pending in our own buffers cannot be detected with
select() so was not processed until more input arrives
from the network.
- Closes # 55
Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
|
|\ \ \
| |/ /
| | | |
Only advertise xvp support when xvpHook is set
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Prevent that clients show "reboot" "power down" buttons
that are not going to work.
Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | | |
Initialize libgcrypt before use
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
https://www.gnupg.org/documentation/manuals/gcrypt/Initializing-the-library.html
"Before the library can be used, it must initialize itself.
This is achieved by invoking the function gcry_check_version"
Closes issue #45
Tested with krdc + libgcrypt 1.6.1 (libgcrypt20-dev Ubunutu package)
connecting to a Mac Mini.
Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
|
|\ \ \
| |/ /
| | | |
tls_openssl.c: define _XOPEN_SOURCE for extra POSIX functionality
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
On some systems pthread_mutexattr_settype() and PTHREAD_MUTEX_RECURSIVE are
not available by default.
Either _XOPEN_SOURCE or _POSIX_C_SOURCE needs to be set to to the right level
before including any system include file in order to have them exposed.
Fixes the following compile error:
==
tls_openssl.c: In function 'dyn_create_function':
tls_openssl.c:91:2: warning: implicit declaration of function 'pthread_mutexattr_settype' [-Wimplicit-function-declaration]
MUTEX_INIT(value->mutex);
^
tls_openssl.c:42:40: error: 'PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function)
pthread_mutexattr_settype(&mutexAttr, PTHREAD_MUTEX_RECURSIVE);\
^
tls_openssl.c:91:2: note: in expansion of macro 'MUTEX_INIT'
MUTEX_INIT(value->mutex);
^
tls_openssl.c:42:40: note: each undeclared identifier is reported only once for each function it appears in
pthread_mutexattr_settype(&mutexAttr, PTHREAD_MUTEX_RECURSIVE);\
^
tls_openssl.c:91:2: note: in expansion of macro 'MUTEX_INIT'
MUTEX_INIT(value->mutex);
^
tls_openssl.c: In function 'InitializeTLS':
tls_openssl.c:42:40: error: 'PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function)
pthread_mutexattr_settype(&mutexAttr, PTHREAD_MUTEX_RECURSIVE);\
^
tls_openssl.c:156:5: note: in expansion of macro 'MUTEX_INIT'
MUTEX_INIT(mutex_buf[i]);
^
tls_openssl.c: In function 'ssl_verify':
tls_openssl.c:177:7: warning: variable 'err' set but not used [-Wunused-but-set-variable]
int err, i;
^
tls_openssl.c:176:14: warning: variable 'client' set but not used [-Wunused-but-set-variable]
rfbClient *client;
^
make[3]: *** [tls_openssl.lo] Error 1
==
Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
|
| | | |
|
| | | |
|
| | | |
|