Peter Harris
769ac2d35f
Fix drawing with negative window origin
...
Since REGION16 uses unsigned values, when appWindow->x or appWindow->y
is negative, the region will have a very large left or top value.
Avoid this problem by clamping to 0 before casting to an unsigned value.
2015-09-03 18:48:42 -04:00
Norbert Federa
72d901454c
Merge pull request #2865 from akallabeth/h264_ignore_errors
...
[H264] ignore decoder errors
2015-09-03 14:42:36 +02:00
Martin Fleisz
607dfe298a
Merge pull request #2867 from akallabeth/channel_error_reset
...
Resetting channel error on freerdp_connect.
2015-09-03 14:22:40 +02:00
Armin Novak
3b8043264f
Resetting channel error on connect.
2015-09-03 13:46:17 +02:00
Armin Novak
551eca246b
Ignoring H264 decompression failures.
...
When connecting to windows 8.1 machines the remote RDP server
implementation sometimes sends invalid H264 data. To avoid client
disconnections ignore the broken updates.
2015-09-03 12:11:15 +02:00
Armin Novak
e345feb5c1
Generalized rdpgfx_decode to work with all codecs.
2015-09-03 12:11:15 +02:00
Martin Fleisz
ad4a8623fc
Merge pull request #2861 from llyzs/winmm_volume_fix
...
rdpsnd/winmm: fix SetVolume when device is not opened.
2015-09-02 12:43:11 +02:00
MartinHaimberger
74817efbdb
Merge pull request #2852 from bmiklautz/process_env
...
Update CreateProcess and rfx
2015-09-02 10:09:11 +02:00
Vic Lee
cc1bcb31b8
rdpsnd/winmm: fix SetVolume when device is not opened.
2015-09-02 15:31:40 +08:00
Norbert Federa
2d5e249eff
Merge pull request #2825 from akallabeth/pointer_decoding_fix
...
Fixed color pointer decoding.
2015-09-01 11:09:42 +02:00
Armin Novak
89227b97f0
Ignore AND mask for 32 bit pointer.
2015-09-01 10:53:45 +02:00
Bernhard Miklautz
1f13781fe1
Merge pull request #2855 from akallabeth/memleak_fixes
...
Memleak fixes
2015-08-31 09:50:21 +02:00
Hardening
2fb232cee9
Merge pull request #2854 from bmiklautz/issue/2853
...
settings: update settings/help to match
2015-08-30 22:31:08 +02:00
Armin Novak
276685263d
Fixed cleanup code.
2015-08-28 11:46:24 +02:00
Armin Novak
5e360ddcb1
Fixed memory leak.
2015-08-28 11:22:21 +02:00
Bernhard Miklautz
05c02da742
settings: update settings/help to match
...
* wallpaper was off but help said "default: on"
* compression is on but help said "default: off"
Fixes #2853
2015-08-28 11:09:38 +02:00
Armin Novak
5cad081cc8
Fixed memory leak.
2015-08-28 11:07:25 +02:00
Armin Novak
26b1f5a914
Fixed memory leak.
2015-08-28 11:06:26 +02:00
Armin Novak
198b70db0e
Fixed memory leak.
2015-08-28 11:05:44 +02:00
Armin Novak
1cedbd5cd1
Fixed memory leak.
2015-08-28 11:01:34 +02:00
Armin Novak
dd9d66a3e6
Fixed NONNULL argument warnings.
2015-08-28 10:59:48 +02:00
Armin Novak
07bba9b623
Fixed NONNULL argument warnings.
2015-08-28 10:58:20 +02:00
Armin Novak
a8cd9e0138
Fixed resource leak.
2015-08-28 10:53:43 +02:00
Armin Novak
f8295a1517
Fixed resource cleanup double free.
2015-08-28 10:51:27 +02:00
Bernhard Miklautz
72f13aeacb
CreateProcess: add stdin/out/err redirection
...
When launching a new process stdin/stdout/stderr can be redirected by
passing the corresponding HANDLEs in the passed lpStartupInfo structure.
This is required for example if a pipe should be used as stdin/stdout.
If set in lpStartupInfo the file descriptor of the passed handle is
now used. The test was updated accordingly.
2015-08-28 10:41:23 +02:00
Bernhard Miklautz
c0d1f5bac1
codec/rfx: update comment and remove WLog_ERR
...
With revision 17.0 of [MS-RDPRFX] the behavior when numRects == 0 is
documented.
This commit updates the comment and removes the error logging.
2015-08-28 10:36:56 +02:00
Marc-André Moreau
a700d1d02d
Merge pull request #2716 from realjiangms/shadow_xor_pointer
...
server/shadow: Fix alpha pointer message so that it allows pixel with both 'xor' and 'and'
2015-08-27 10:20:18 -04:00
Marc-André Moreau
97c38e7d8c
Merge pull request #2739 from realjiangms/shadow_resize
...
server/shadow: Enhancement regarding the screen and resolution - addresize support and fix subRect feature
2015-08-27 10:19:25 -04:00
Marc-André Moreau
fdac05b967
Merge pull request #2798 from psumbera/master
...
This array is so big that it eats whole stack for the thread and makes
2015-08-27 10:15:29 -04:00
Marc-André Moreau
e1e4d2ae98
Merge pull request #2827 from HenryJacques/winpr_cleanup
...
Remove unused variable in RegQueryValueExA()
2015-08-27 10:11:50 -04:00
Marc-André Moreau
90b7d42429
Merge pull request #2838 from akallabeth/smartcard_no_readers
...
Added return value checks for smartcard functions.
2015-08-27 10:05:23 -04:00
Marc-André Moreau
87689467a6
Merge pull request #2844 from akallabeth/getcomputername_fix
...
Getcomputername fix
2015-08-27 10:04:48 -04:00
Marc-André Moreau
f7ea8d1832
Merge pull request #2829 from akallabeth/mf_compile_option
...
media foundation support now a compile time option.
2015-08-27 10:00:47 -04:00
Marc-André Moreau
223e0c7900
Merge pull request #2785 from MartinHaimberger/mh-channel-fix
...
Channel hardening and fixing
2015-08-27 09:24:10 -04:00
Martin Haimberger
52405a3e79
Remove WIN32ERROR type
...
All return values are UINT now.
2015-08-27 05:38:20 -07:00
Hardening
9101135e52
Merge pull request #2846 from llyzs/monitor
...
Read and write desktop and monitor data.
2015-08-27 11:42:45 +02:00
Martin Fleisz
157f5af99b
Merge pull request #2847 from akallabeth/base64_decode_ensure_null_termination
...
Ensure output of crypto_base64_decode is NULL terminated.
2015-08-27 11:28:37 +02:00
Vic Lee
6f639c1e34
gcc: read and write desktop scale settings in core data.
2015-08-27 16:19:40 +08:00
Armin Novak
dfa7ac6434
Ensure output of crypto_base64_decode is NULL terminated.
2015-08-27 09:34:33 +02:00
Vic Lee
8394d8c677
gcc: read and write monitor extended data.
2015-08-27 15:26:37 +08:00
Armin Novak
d557690426
x509_get_default_name tries to get FQDN before hostname now.
2015-08-25 17:44:03 +02:00
Armin Novak
1abd652530
Fixed GetComputerNameExA and GetComputerNameA.
2015-08-25 17:43:22 +02:00
Martin Haimberger
420a86e1c7
Merge remote-tracking branch 'upstream/master' into mh-channel-fix
...
Conflicts:
channels/drdynvc/client/drdynvc_main.c
channels/rdpgfx/client/rdpgfx_main.c
client/X11/xf_gfx.c
2015-08-25 00:07:04 -07:00
Armin Novak
c40f3198a4
Added return value checks.
2015-08-19 12:50:48 +02:00
Armin Novak
4ed701bf35
media foundation support now a compile time option.
2015-08-11 07:58:43 +02:00
Armin Novak
7983c2f457
Fixed duplicate int.
2015-08-06 14:43:39 +02:00
Armin Novak
be673f5766
Fixed mac API.
2015-08-06 14:11:36 +02:00
Armin Novak
4a62e6bee4
Added length arguments and checks.
2015-08-06 11:24:42 +02:00
HenryJacques
e9a7da3b4e
Remove unused variable
2015-08-05 18:38:50 +02:00
Armin Novak
416ac0baea
Fixed return and argument checks.
2015-08-05 17:32:46 +02:00