David FORT
ff92a12ceb
Fix a bug in region_union_rect()
...
When region_union_rect() was called with a rect that was above the region without
intersecting it, the first band was created too large. This patch fixes this and
add a unitary test.
All credits go to @nfedera that:
* found the bug;
* find a dataset to reproduce;
* code the unitary test;
* spotted a suspicious line that was the faulty one.
2015-09-30 21:14:43 +02:00
Hardening
1e1983b7da
Merge pull request #2903 from ssieb/fix-redir
...
Don't fail the redirect if padding wasn't sent before disconnecting
2015-09-24 21:18:46 +02:00
Samuel Sieb
812e14af04
Don't fail the redirect if padding wasn't sent before disconnecting
2015-09-24 10:37:21 -07:00
Hardening
62da9d28c6
Merge pull request #2899 from awakecoding/master
...
Standard RDP security server redirection fix
2015-09-21 23:42:32 +02:00
Marc-André Moreau
a91506161d
libfreerdp-core: fix redirection with standard RDP security
2015-09-21 15:36:19 -04:00
Martin Fleisz
859a097c13
Merge pull request #2897 from bjcollins/rail_fix_window_title
...
Minor rail fixes/tweaks
2015-09-21 14:31:47 +02:00
Hardening
77e113c89b
Merge pull request #2898 from bjcollins/smartcard_status_buffer_size
...
Fix use of invalid input causing SCARD_E_INSUFFICIENT_BUFFER errors
2015-09-21 13:50:29 +02:00
bjcollins
456416a871
Dont use invalid/bogus input value for cbAtrLen for Smartcard Status Calls, instead just always use the max value here to indicate we have max
...
buffer space available.
2015-09-18 16:55:06 -05:00
bjcollins
47c260177c
fix window title for rail as it was not being set on initial window creation
...
remove duplicate call to XStoreName when setting window title
expand WITH_XEXT #define for rail window rects as extra unecessary work was being done when WITH_XEXT was not defined
2015-09-18 16:14:30 -05:00
Marc-André Moreau
d1cb3410de
Merge pull request #2896 from awakecoding/master
...
Win32 Gateway Fix, iOS TCP connection infinite loop fix
2015-09-18 11:57:01 -04:00
Marc-André Moreau
70b037145e
libwinpr-synch: fix broken FD_ISSET check caused by hidden type cast from int to char
2015-09-18 11:38:27 -04:00
Marc-André Moreau
9c35b73fb6
libfreerdp-core: fix gateway connectivity on Windows
2015-09-17 14:32:40 -04:00
Marc-André Moreau
8a5c55788b
libwinpr-sspi: don't warn about non-error security statuses
2015-09-17 11:16:20 -04:00
Martin Fleisz
f8ceb3f606
Merge pull request #2895 from aballier/ffmpeg
...
channels/tsmf/client/ffmpeg: Fix build with ffmpeg git master.
2015-09-17 16:02:00 +02:00
Alexis Ballier
b7b66968f9
channels/tsmf/client/ffmpeg: Fix build with ffmpeg git master.
...
Replace old, deprecated and now removed, APIs with their new equivalent while retaining backward compatibility with old ffmpeg versions.
2015-09-17 10:36:44 +02:00
Martin Fleisz
affe82cae8
Merge pull request #2890 from realjiangms/shadow_fix_memory_leak
...
server: Fix several memory leak found while running valgrind on freerdp-shadow
2015-09-17 10:33:43 +02:00
zihao.jiang
f21749ac07
server: Fix several memory leak while running valgrind on freerdp-shadow
2015-09-17 01:02:22 +08:00
Marc-André Moreau
6dff045961
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-09-16 10:41:32 -04:00
Marc-André Moreau
48c7a8dc1d
Merge pull request #2889 from dvincent-devolutions/gateway
...
Fix RDP8 gateway disconnections
2015-09-16 10:41:07 -04:00
Denis Vincent
3ea0fe0c01
Small corrections to BIO implementation.
2015-09-16 09:54:03 -04:00
Marc-André Moreau
c0a887da17
libfreerdp-crypto: add locking of operations dealing with SSL*
2015-09-15 19:59:41 -04:00
Marc-André Moreau
3f2915eb78
libfreerdp-core: alternative RDG BIO fix
2015-09-15 13:03:11 -04:00
Marc-André Moreau
12ce635b34
libfreerdp-core: fix code style
2015-09-15 10:37:57 -04:00
Martin Fleisz
912cd96321
Merge pull request #2887 from FreeRDP/mh-file-api-extension
...
winpr/file: extend API
2015-09-15 15:57:56 +02:00
Marc-André Moreau
5f66420de6
Merge branch 'gateway' of https://github.com/dvincent-devolutions/FreeRDP
2015-09-15 09:24:04 -04:00
MartinHaimberger
2b2af6c9ea
Merge pull request #2886 from clangm/master
...
Fix Network Characteristics Autodetect [RDPBCGR 2.2.14]
2015-09-15 15:16:37 +02:00
Marc-André Moreau
2c3c6930c3
Merge pull request #2888 from awakecoding/master
...
fix ARM64 data type portability
2015-09-15 09:12:00 -04:00
Marc-André Moreau
875c703caf
Merge pull request #2879 from peterh/shape
...
xfreerdp: Fix window shape
2015-09-15 09:08:47 -04:00
Denis Vincent
6d55635ed0
libfreerdp-core: Gateway RDP8 BIO correction. Fixes connection losses.
2015-09-15 09:03:39 -04:00
MartinHaimberger
db2ce49a98
Merge pull request #2763 from akallabeth/nla_null_auth
...
Fixed server and client NLA state machine for NULL identity.
2015-09-15 14:53:55 +02:00
MartinHaimberger
d4d360f6a4
Merge pull request #2859 from akallabeth/resource_leak_fix
...
Fixes API misuse and logic errors
2015-09-15 14:45:42 +02:00
Martin Haimberger
925e4ea4d4
winpr/file: extend API
...
added windows code
fixed compiler issue
2015-09-15 04:14:30 -07:00
Bernhard Miklautz
074854735f
winpr/file: extend API
...
Add function GetFileHandleForFileDescriptor to get
a file handle for a valid file descriptor.
2015-09-15 02:16:36 -07:00
Hardening
d5a0542856
Merge pull request #2883 from bceverly/master
...
Updated OpenBSD changes
2015-09-15 09:07:15 +02:00
Marc-André Moreau
01b52d08d7
winpr: fix ARM64 data type portability
2015-09-14 14:34:24 -04:00
Bryan Everly
37b3881f06
Merge remote-tracking branch 'upstream/master'
2015-09-14 13:21:00 -04:00
Bryan Everly
bd149a284d
Cleaned up previous OpenBSD change per recommendation
2015-09-14 13:20:11 -04:00
MartinHaimberger
735383b7f5
Merge pull request #2877 from bmiklautz/filehandling
...
winpr/file refactoring and regular file support
2015-09-14 17:15:50 +02:00
clangm
ac089f8a3f
Removed if statement that was causing network characteristics autodetect to not work
2015-09-11 15:01:31 -06:00
Bryan Everly
3431e8e666
Updated OpenBSD changes
2015-09-11 08:54:40 -04:00
Hardening
02c86dece4
Merge pull request #2880 from bceverly/master
...
Fixes for OpenBSD port
2015-09-11 09:43:48 +02:00
Bryan Everly
cb533b2a04
Fixes for OpenBSD port
2015-09-10 21:31:13 -04:00
Peter Harris
5f2f68f0e7
xfreerdp: Fix window shape
...
Don't abort the entire xf_rail_window_common function when the window is
already in the correct location.
To reproduce:
- move an application off the edge of the screen
- resize the window to cause a shape to be set
- move the application window fully on the screen
- resize the application window larger
- note lack of drawing in newly enlarged portion of window
Bug introduced in abf6d4f71e
"xfreerdp:
prepare RAIL migration away from libfreerdp-rail" when
xf_rail_MoveWindow was copy-and-pasted into xf_rail_window_common
without noticing that the "return" would omit the rest of the combined
function, not just the portion that was pasted.
2015-09-10 18:15:55 -04:00
Martin Fleisz
aff46f27f5
Merge pull request #2878 from akallabeth/screen_orientation_types
...
Added ORIENTATION_PREFERENCE from WinUser.h.
2015-09-10 15:23:11 +02:00
Armin Novak
e685f13e0b
Added ORIENTATION_PREFERENCE from WinUser.h.
2015-09-10 13:26:37 +02:00
Bernhard Miklautz
0d9dfb974d
winpr/file: integrate pull request feedback
...
* simplify RemoveDirectory
* move std handle function into an extern C block
2015-09-10 11:50:10 +02:00
Bernhard Miklautz
0f5e7c60a7
winpr/file: don't close stdin/stdout/stderr
...
If the handle is closed stdin/stdout/stderr should be left open.
2015-09-09 17:07:40 +02:00
Bernhard Miklautz
8091530779
winpr/file: fix ios build
...
comm is only build on linux.
2015-09-09 17:07:13 +02:00
Bernhard Miklautz
6b52a2e5cc
winpr/file: initial regular file support
...
Add initial support for "regular" files. First implemented call is
GetStdHandle to get stdin/stdout/stderr.
2015-09-09 16:47:03 +02:00
Bernhard Miklautz
204ae5462a
winpr/file: refactoring
...
The used method for initalizing and registering the handle creators
had certain disadvantages like that it was necessary to have the creators
initialized before the first call to CreateFile. In case of comm it
wouldn't have been possible to open an comm port without calling any
other call related function first.
Now the handle creators are initialized the first time CreateFile is
called. This way it is also possible to ensure a certain order of the
handler invocations.
This commit also splits out the client side named pipe code from
the generic file handling (now called generic.c instead of file.c) and
uses the new handle creator infrastructure to register.
2015-09-09 15:48:59 +02:00