Marc-André Moreau
1e39d7728c
Merge pull request #2702 from akallabeth/nla_null_identity_support
...
NLA Use current users credentials if none provided.
2015-06-22 08:53:05 -04:00
Bernhard Miklautz
b7e24309cf
Merge pull request #2711 from nfedera/nf-fix-rdprecvmessagechannelpdu
...
core: message channel pdu broken with rdp security
2015-06-22 12:26:31 +02:00
Norbert Federa
91a9b23b91
core: message channel pdu broken with rdp security
...
rdp_recv_message_channel_pdu always read the rdp security header
even if it was already previously read (which is the case if rdp
security is active)
This caused malfunctions and disconnects when heartbeat or bandwidth
autodetect packets were sent/received in rdp security mode.
Credit goes to @MartinHaimberger for identifying the broken code
part.
2015-06-19 14:49:17 +02:00
Hardening
c8731eaa2c
Merge pull request #2706 from nfedera/nf-fix-reset-event
...
winpr/synch: fix ResetEvent & improve CTest
2015-06-18 09:28:31 +02:00
Vic Lee
2e11eac79a
Merge pull request #2675 from akallabeth/path_make_path
...
Added PathMakePath function.
2015-06-18 02:43:47 +00:00
Norbert Federa
f503f4cf0b
winpr/synch: fix ResetEvent & improve CTest
...
Unless there is an invalid parameter or internal error, ResetEvent
must return TRUE, even if the object is in nonsignaled state.
Also fixed and improved the CTest TestSynchEvent to test for the
expected/correct SetEvent and ResetEvent return values.
2015-06-17 14:13:28 +02:00
Vic Lee
bf7f933bec
Merge pull request #2703 from akallabeth/unified_sspi
...
Let SSPI module choose which implementation to use.
2015-06-16 15:02:57 +00:00
Armin Novak
34253f2664
Let SSPI module choose which implementation to use.
2015-06-15 15:21:21 +02:00
Armin Novak
219ca1c02b
NLA identity now a pointer, allowing NULL.
...
When NLA identity is NULL, the current user context
is used on windows.
2015-06-15 15:03:13 +02:00
Vic Lee
145fc10412
Merge pull request #2687 from akallabeth/known_hosts_v2
...
Store SSL fingerprints with host and port
2015-06-12 12:52:53 +00:00
Norbert Federa
78b23cf3c5
Merge pull request #2692 from nfedera/add-16bit-cursor-conversion
...
codec/color: support for 8bpp and 16bpp color pointer
2015-06-12 10:52:52 +02:00
Bernhard Miklautz
2f4fb144a7
Merge pull request #2688 from hardening/fix_packaging
...
Correct the included files to have a working freerdp-nightly-dev package
2015-06-12 09:48:53 +02:00
Armin Novak
b43c9f9060
Renamed file to known_hosts2.
2015-06-12 09:30:01 +02:00
Norbert Federa
f04bb6c53d
xfreerdp: xfc->palette wasn't updated with /gdi:sw
...
When using software gdi (/gdi:sw) the rdp update PDU callback
gdi_palette_update() is used which writes the new colors to
the rdpContext's gdi->palette buffer.
The X11 functions however access xfc->palette which gets only
updated by xf_gdi_palette_update() which is the callback if
/gdi:hw is used.
This commit changes xfc->palette to a pointer which points to
xfc's private buffer with /gdi:hw or to the gdi->palette if
software gdi is used.
2015-06-11 18:40:41 +02:00
Norbert Federa
20aa10e6ae
codec/color: support for 8bpp color pointer
2015-06-11 16:34:42 +02:00
Norbert Federa
86d398f0a3
codec/color: support for 16bpp color pointer
2015-06-11 13:12:21 +02:00
Bernhard Miklautz
e8d41c8516
Merge pull request #2682 from nfedera/fix-hresult-winpr-path
...
winpr/path: more PathCch* fixes
2015-06-11 12:47:10 +02:00
MartinHaimberger
2319e4f371
Merge pull request #2690 from llyzs/autodetect_fix
...
Fix timer precision for network autodetection on Windows
2015-06-11 12:34:03 +02:00
Armin Novak
9dd9c35cee
Updated tests.
2015-06-11 11:34:36 +02:00
Armin Novak
3dda4eb0cf
Added NULL pointer checks, fixed warnings.
2015-06-11 11:34:22 +02:00
Armin Novak
7fc1c65165
Added subject and issuer to saved data.
...
When a certificate has changed, display not only the
fingerprint but also subject and issuer of old certificate.
2015-06-11 11:21:23 +02:00
Armin Novak
7786cf1376
Fixed fingerprint comparison, return value was inverted.
2015-06-11 09:59:04 +02:00
Armin Novak
90d836193c
Fixed formatting.
2015-06-11 09:58:58 +02:00
Armin Novak
3d27055539
Added test for fingerprint read.
2015-06-11 09:24:55 +02:00
Armin Novak
b983d8e595
Fixed data replace.
2015-06-11 09:24:53 +02:00
Armin Novak
acc96388a5
Added certificate_get_fingerprint function to read out old one.
2015-06-11 09:14:15 +02:00
Vic Lee
d75ac1ec12
autodetect: use high-precision timer.
2015-06-11 15:12:27 +08:00
Vic Lee
ad4cdf8810
winpr: add high-precision GetTickCountPrecise for Windows.
2015-06-11 15:11:19 +08:00
David FORT
3d5f6530f4
Correct the included files to have a working freerdp-nightly-dev package
2015-06-11 09:08:12 +02:00
Armin Novak
2204df97f8
Added port to certificate warnings.
2015-06-10 10:59:40 +02:00
Armin Novak
ef0b9abf15
Using binary mode for fopen.
2015-06-10 10:47:59 +02:00
Armin Novak
ebad760aff
Opening correct file.
2015-06-10 10:40:01 +02:00
Armin Novak
f4843e8ab3
Opening file on use now.
2015-06-10 10:34:02 +02:00
Armin Novak
05755b73ad
Working unit test for known_hosts functions.
2015-06-10 09:15:38 +02:00
Armin Novak
98fc5b6e93
Fixed bugs found due to test.
2015-06-10 09:15:28 +02:00
Armin Novak
991fc39a62
Added unit test.
2015-06-09 18:03:32 +02:00
Armin Novak
6192230737
Added legacy known_hosts support.
...
If no entry for the <host> <port> combination
was found in the v2 file and there is a legacy file
check if a matching <host> entry can be found.
In case there is a matching entry and the <fingerprint>
also matches, create a new entry in the v2 file using the
current port.
2015-06-09 16:12:41 +02:00
Armin Novak
6da4a5aaf0
Using '<host> <port> <fp>' format for known hosts.
2015-06-09 15:33:13 +02:00
Armin Novak
d6e1a0a25f
Added StrSep function.
2015-06-09 15:32:50 +02:00
Armin Novak
5b7a44cd4a
Removed CreateDirectoryA, handled by PathMakePath
2015-06-09 13:17:15 +02:00
Armin Novak
db7753bc8b
Added RemoveDirectoryA, clean up test directories.
2015-06-09 13:16:28 +02:00
Armin Novak
7403cdc60c
Added PathMakePath function.
2015-06-09 13:16:28 +02:00
Bernhard Miklautz
07407927c2
Merge pull request #2670 from akallabeth/windows_config_paths
...
Adjusted config paths
2015-06-09 12:35:45 +02:00
Norbert Federa
0278f7f4ba
Merge pull request #2683 from nfedera/fix-shadow-server
...
server/shadow: resuscitate shadow server
2015-06-08 17:57:24 +02:00
Norbert Federa
202a931125
server/shadow: prevent memcopy of NULL area
2015-06-08 16:34:45 +02:00
Norbert Federa
677be4d113
server/shadow: resuscitate shadow server
...
shadow_client_refresh_rect returned FALSE if the areas parameter
was NULL. It may only do so if the count parameter is > 0.
2015-06-08 15:55:11 +02:00
Norbert Federa
cdabfcf9e1
winpr/path: Denounce PathAllocCombine and more
...
Note: This commit does NOT really fix PathAllocCombine!
- print a warning message that the function is buggy and added a code
comment describing the issues
- fix misuse of the S_FALSE HRESULT in error conditions
- prevent some segfaults
- check result of HeapAlloc
Fortunately PathAllocCombine is unused in FreeRDP
2015-06-08 14:33:19 +02:00
Norbert Federa
6823cb4a86
winpr/path: PathCchConvertStyle used S_FALSE
...
Use E_FAIL instead of S_FALSE which was used to indicate errors
although it is a HRESULT success code.
2015-06-08 14:33:19 +02:00
Norbert Federa
b93a25a9af
winpr/path: umimplemented tests print a warning
2015-06-08 14:33:19 +02:00
Norbert Federa
d383f95335
winpr/path: unimpl. functions should not succeed
...
Unimplemented PathCch* functions now return E_NOTIMPL instead of the
HRESULT S_OK and print an error message.
2015-06-08 14:33:19 +02:00