Armin Novak [Fri, 4 Mar 2016 08:25:04 +0000 (09:25 +0100)]
Fixed FreeBSD support for filetime settings.
Hardening [Fri, 4 Mar 2016 10:19:00 +0000 (11:19 +0100)]
Merge pull request #3194 from nfedera/fix-convertfromunicode-hardening
ConvertFromUnicode fixes and misc hardening
Bernhard Miklautz [Fri, 4 Mar 2016 10:17:42 +0000 (11:17 +0100)]
Merge pull request #1726 from grpomega/patch-3
Need Week instead of Day for TZ transistion
Norbert Federa [Thu, 3 Mar 2016 23:45:26 +0000 (00:45 +0100)]
fix logon info processing
since there have been reports that certain windows versions send
zero values in the cbDomain field of the Logon Info Version 2
(TS_LOGON_INFO_VERSION_2) struct we allow zero values for cbUserName
and cbDomain in rdp_recv_logon_info_v1 and rdp_recv_logon_info_v2.
Bernhard Miklautz [Thu, 3 Mar 2016 19:39:31 +0000 (20:39 +0100)]
Merge pull request #3173 from akallabeth/audin_arg_fix
Fixed argument parsing for audin.
Martin Fleisz [Thu, 3 Mar 2016 16:34:57 +0000 (17:34 +0100)]
Merge pull request #3196 from akallabeth/exported_symbols_fix
Fixed symbol export for sound plugins.
Armin Novak [Thu, 3 Mar 2016 16:11:26 +0000 (17:11 +0100)]
Fixed symbol export for sound plugins.
Norbert Federa [Thu, 3 Mar 2016 15:21:12 +0000 (16:21 +0100)]
ConvertFromUnicode fixes and misc hardening
- Added missing ConvertFromUnicode checks
- If ConvertToUnicode allocates memory, guarantee the null termination
similar to ConvertFromUnicode's implementation
- Fixed some TestUnicodeConversion.c CTest return values
- Added some CTests for ConvertFromUnicode and ConvertToUnicode
- Misc code and protocol hardening fixes in the surrounding code regions
that have been touched
Bernhard Miklautz [Thu, 3 Mar 2016 12:58:42 +0000 (13:58 +0100)]
Merge pull request #3192 from akallabeth/plugin_path_fix
Updated freerdp plugin path to use major version.
Martin Fleisz [Thu, 3 Mar 2016 11:12:21 +0000 (12:12 +0100)]
Merge pull request #3191 from hardening/saveInfoPdu_fix
Fix parsing of saveSessionInfo PDU
David FORT [Thu, 3 Mar 2016 10:45:12 +0000 (11:45 +0100)]
Fix parsing of saveSessionInfo PDU
This should fix the case when no username is sent (issue #3186).
Armin Novak [Thu, 3 Mar 2016 10:36:26 +0000 (11:36 +0100)]
Updated freerdp plugin path to use major version.
Martin Fleisz [Thu, 3 Mar 2016 10:06:24 +0000 (11:06 +0100)]
Merge pull request #3187 from akallabeth/client_name_fix
Gateway fix
Armin Novak [Thu, 3 Mar 2016 08:08:30 +0000 (09:08 +0100)]
Removed additional '\0' from TUNNEL_AUTH message.
Hardening [Wed, 2 Mar 2016 19:53:19 +0000 (20:53 +0100)]
Merge pull request #3184 from xhaakon/fix-ubuntu-gcc-build
Fix build on older 32-bit Ubuntu releases
Jakub Adam [Tue, 23 Feb 2016 14:27:33 +0000 (15:27 +0100)]
Fix build on older 32-bit Ubuntu releases
Some older 32-bit versions of gcc fail on '#elif __x86_64__'.
This applies at least to what Ubuntu 14.04 and 15.04 have as
the default compiler.
akallabeth [Wed, 2 Mar 2016 18:03:46 +0000 (19:03 +0100)]
Merge pull request #3183 from bmiklautz/timezone_regression
winpr: fix regression in timezone detection
Bernhard Miklautz [Wed, 2 Mar 2016 17:37:48 +0000 (12:37 -0500)]
winpr: fix regression in timezone detection
ConvertToUnicode can't be used if the destination is a static buffer.
StandardName and DaylightName were invalid and timezone
redirection didn't work.
This regression was introduced with PR #3151
Bernhard Miklautz [Wed, 2 Mar 2016 15:33:41 +0000 (10:33 -0500)]
Merge pull request #3182 from xhaakon/shadow-pkg-config
shadow/subsystem: fix pkgconfig file
Jakub Adam [Wed, 2 Mar 2016 09:20:12 +0000 (10:20 +0100)]
shadow/subsystem: fix pkgconfig file
Add freerdp-shadow-subsystem to 'libs' in order to avoid undefined
reference to shadow_subsystem_set_entry_builtin at runtime.
Remove cyclic dependency on itself.
Martin Fleisz [Wed, 2 Mar 2016 08:43:46 +0000 (09:43 +0100)]
Merge pull request #3163 from akallabeth/set_file_time
Implemented SetFileTime
Martin Fleisz [Wed, 2 Mar 2016 08:43:24 +0000 (09:43 +0100)]
Merge pull request #3179 from akallabeth/minor_fixes
Fix compiler warnings and FreeBSD compilation issue
Armin Novak [Wed, 2 Mar 2016 08:16:59 +0000 (09:16 +0100)]
Removed obsolete log message.
Armin Novak [Wed, 2 Mar 2016 08:16:49 +0000 (09:16 +0100)]
Fixed uninitialized variable.
Hardening [Tue, 1 Mar 2016 22:34:57 +0000 (23:34 +0100)]
Merge pull request #3178 from hendwolt/master
fix wayland-client.h not found
Hendrik Woltersdorf [Tue, 1 Mar 2016 20:49:21 +0000 (21:49 +0100)]
fix wayland-client.h not found
Bernhard Miklautz [Tue, 1 Mar 2016 15:44:19 +0000 (16:44 +0100)]
Merge pull request #3160 from akallabeth/stream_fixes
Stream fixes
Armin Novak [Tue, 1 Mar 2016 10:40:11 +0000 (11:40 +0100)]
Added tests for remaining stream functions.
Armin Novak [Tue, 1 Mar 2016 10:39:21 +0000 (11:39 +0100)]
Fixed stream API for Stream_Copy.
Armin Novak [Tue, 1 Mar 2016 09:29:51 +0000 (10:29 +0100)]
Reverted opaque structures.
Norbert Federa [Mon, 29 Feb 2016 16:39:18 +0000 (17:39 +0100)]
Merge pull request #3176 from bmiklautz/shadow_subsystem
Export shadow subsystem
Bernhard Miklautz [Mon, 29 Feb 2016 16:10:53 +0000 (17:10 +0100)]
Merge pull request #3171 from akallabeth/crypto_simplification
Crypto simplification
Bernhard Miklautz [Mon, 29 Feb 2016 15:59:58 +0000 (16:59 +0100)]
Merge pull request #3168 from akallabeth/visibility_fixes
Fixed default visibility.
Bernhard Miklautz [Mon, 29 Feb 2016 15:25:04 +0000 (16:25 +0100)]
ci: build server side on windows
Bernhard Miklautz [Mon, 29 Feb 2016 15:22:24 +0000 (16:22 +0100)]
build: export freerdp-shadow
pkg-config and cmake find package
Bernhard Miklautz [Mon, 29 Feb 2016 15:02:13 +0000 (16:02 +0100)]
shadow/subsystem: fix windows build
* add dependency to freerdp-client
* add version information to freerdp-shadow-cli
Bernhard Miklautz [Mon, 29 Feb 2016 15:00:35 +0000 (16:00 +0100)]
build/win32: fix DLL version information
Swap build and patch.
Now uses the format major.minor.patch.build
Armin Novak [Mon, 29 Feb 2016 14:24:07 +0000 (15:24 +0100)]
Removed module.def from build config.
Bernhard Miklautz [Mon, 29 Feb 2016 14:21:22 +0000 (15:21 +0100)]
Merge pull request #3167 from realjiangms/shadow_export_default_subsystem
server/shadow: Export API to set built-in subsystem modules for freerdp-shadow-subsystem
Armin Novak [Mon, 29 Feb 2016 14:18:47 +0000 (15:18 +0100)]
Removed windows module.def files.
All symbols exported from libraries are declared
using *_API defines.
Armin Novak [Mon, 29 Feb 2016 14:18:19 +0000 (15:18 +0100)]
Exporting channel entry points.
Armin Novak [Mon, 29 Feb 2016 13:43:33 +0000 (14:43 +0100)]
Fixed crypto tests.
Armin Novak [Mon, 29 Feb 2016 11:54:31 +0000 (12:54 +0100)]
Replaced stream manipulation with EnsureCapacity.
Armin Novak [Mon, 29 Feb 2016 11:51:54 +0000 (12:51 +0100)]
Fixed invalid stream copy length.
Armin Novak [Mon, 29 Feb 2016 11:34:53 +0000 (12:34 +0100)]
Fixed formatting.
Armin Novak [Mon, 29 Feb 2016 10:12:32 +0000 (11:12 +0100)]
Fixed indentation.
Armin Novak [Mon, 29 Feb 2016 10:10:15 +0000 (11:10 +0100)]
Fixed memory leak.
Hardening [Mon, 29 Feb 2016 09:31:50 +0000 (10:31 +0100)]
Merge pull request #3165 from akallabeth/printer_fix
Printer fix
Armin Novak [Mon, 29 Feb 2016 08:00:02 +0000 (09:00 +0100)]
Refactored crypto *_New functions.
Armin Novak [Sun, 28 Feb 2016 18:56:57 +0000 (19:56 +0100)]
Fixed argument parsing for audin.
Armin Novak [Sun, 28 Feb 2016 10:12:17 +0000 (11:12 +0100)]
Updated RC4 API, fixed crashing bug.
akallabeth [Sun, 28 Feb 2016 09:33:25 +0000 (10:33 +0100)]
Merge pull request #3169 from realjiangms/android_fix_sound
android: Fix sound redirection.
zihao.jiang [Fri, 26 Feb 2016 17:07:30 +0000 (01:07 +0800)]
server/shadow: Export API to set built-in subsystem modules for freerdp-shadow-subsystem
zihao.jiang [Fri, 26 Feb 2016 18:20:49 +0000 (02:20 +0800)]
android: Fix sound redirection.
After #3097, the java side pass command line argument to JNI for freerdp settings. However there's several issues need to be fixed:
1. The argument /sound should be appended if freerdp is required to play sound at local device
2. The option value for "audio-mode" is not correct.
It should match the definition in client/common/cmdline.c
/* Audio Mode */
define AUDIO_MODE_REDIRECT 0 /* Bring to this computer */
define AUDIO_MODE_PLAY_ON_SERVER 1 /* Leave at remote computer */
define AUDIO_MODE_NONE 2 /* Do not play */
3. Uncomment support for WAVE_FORMAT_PCM in audin. I tested on my android phone and Nokia N1 tablet. It works on both device
Armin Novak [Sat, 27 Feb 2016 22:28:49 +0000 (23:28 +0100)]
Unified encryption functions.
Armin Novak [Sat, 27 Feb 2016 21:39:45 +0000 (22:39 +0100)]
Removed crypto_nonce.
Armin Novak [Sat, 27 Feb 2016 21:16:41 +0000 (22:16 +0100)]
Fixed const argument for Stream_Write.
Armin Novak [Sat, 27 Feb 2016 21:13:59 +0000 (22:13 +0100)]
Added API export for uwac.
Armin Novak [Sat, 27 Feb 2016 10:36:34 +0000 (11:36 +0100)]
Fixed dupliace FREERDP_API declarations.
Armin Novak [Fri, 26 Feb 2016 18:25:49 +0000 (19:25 +0100)]
Fixed default visibility.
When nothing is declared, only export symbols defined
with WINPR_API or FREERDP_API defined.
Override this setting if BUILD_TESTING to allow tests
access to internal functions usually not exposed.
akallabeth [Fri, 26 Feb 2016 17:53:45 +0000 (18:53 +0100)]
Merge pull request #3157 from DavBfr/Fix-bad-malloc-size
Fix bad malloc size in statvfs
David PHAM-VAN [Fri, 12 Feb 2016 19:32:18 +0000 (11:32 -0800)]
Fix bad malloc size in statvfs
Armin Novak [Fri, 26 Feb 2016 14:21:19 +0000 (15:21 +0100)]
Printer driver from command line now used.
Armin Novak [Fri, 26 Feb 2016 13:50:27 +0000 (14:50 +0100)]
Fixed duplicate loading of smartcard and printers.
Armin Novak [Fri, 26 Feb 2016 11:13:02 +0000 (12:13 +0100)]
Added support for android SetFileTime.
Deactivated libjpeg support for android.
Armin Novak [Fri, 26 Feb 2016 10:22:56 +0000 (11:22 +0100)]
Fixed missing iOS UTIME_OMIT.
Armin Novak [Fri, 26 Feb 2016 09:48:53 +0000 (10:48 +0100)]
Implemented SetFileTime
Martin Fleisz [Fri, 26 Feb 2016 08:57:35 +0000 (09:57 +0100)]
Merge pull request #3151 from akallabeth/timezone_refactor
Timezone refactor
Hardening [Fri, 26 Feb 2016 08:52:43 +0000 (09:52 +0100)]
Merge pull request #3156 from akallabeth/ssl_wrapper_merge
Ssl wrapper merge
Armin Novak [Fri, 26 Feb 2016 08:28:54 +0000 (09:28 +0100)]
Fixed indentation.
Armin Novak [Fri, 26 Feb 2016 08:27:53 +0000 (09:27 +0100)]
Replaced magic numbers with defines.
akallabeth [Fri, 26 Feb 2016 08:23:34 +0000 (09:23 +0100)]
Merge pull request #3161 from bmiklautz/uwac_versioning
uwac: versioning and export
Bernhard Miklautz [Thu, 25 Feb 2016 22:47:32 +0000 (23:47 +0100)]
uwac: generate .pc and cmake find-module
Bernhard Miklautz [Thu, 25 Feb 2016 22:46:56 +0000 (23:46 +0100)]
uwac: enable library versioning
Bernhard Miklautz [Thu, 25 Feb 2016 22:38:53 +0000 (23:38 +0100)]
build winpr: export WINPR_API_VERSION
Bernhard Miklautz [Thu, 25 Feb 2016 20:57:56 +0000 (21:57 +0100)]
cmake/FindWayland: cleanup
* use consistent naming
* remove trailing blanks
Armin Novak [Thu, 25 Feb 2016 19:13:56 +0000 (20:13 +0100)]
Converted Stream defines to inline functions.
Using inline functions allows compiler type checks
Armin Novak [Thu, 25 Feb 2016 19:01:12 +0000 (20:01 +0100)]
Fixed Stream API misuse.
Armin Novak [Thu, 25 Feb 2016 18:37:20 +0000 (19:37 +0100)]
Fixed stream copy in update_message_SurfaceCommand
akallabeth [Thu, 25 Feb 2016 15:57:48 +0000 (16:57 +0100)]
Merge pull request #3159 from bmiklautz/disable_mipsel
android: disable mips build
Bernhard Miklautz [Thu, 25 Feb 2016 15:57:34 +0000 (16:57 +0100)]
Merge pull request #3140 from hardening/printer_work
Misc changes
Bernhard Miklautz [Thu, 25 Feb 2016 15:31:20 +0000 (16:31 +0100)]
android: disable mips build
mips build causes problems when building openssl during integration
builds. Disable it for now
David FORT [Thu, 25 Feb 2016 14:03:14 +0000 (15:03 +0100)]
Fixed indentation
Armin Novak [Thu, 25 Feb 2016 08:02:46 +0000 (09:02 +0100)]
Fixed missing semicolon.
akallabeth [Thu, 25 Feb 2016 08:00:50 +0000 (09:00 +0100)]
Merge pull request #3042 from hardening/uwac
Move wayland client to UWAC
David FORT [Wed, 24 Feb 2016 23:41:19 +0000 (00:41 +0100)]
Added some checks
Armin Novak [Wed, 24 Feb 2016 20:45:09 +0000 (21:45 +0100)]
Unified hmac functions.
Armin Novak [Wed, 24 Feb 2016 19:39:49 +0000 (20:39 +0100)]
Unified random functions and remaining MD5.
Armin Novak [Wed, 24 Feb 2016 19:32:20 +0000 (20:32 +0100)]
Updated cryto wrapper API.
Armin Novak [Wed, 24 Feb 2016 19:16:33 +0000 (20:16 +0100)]
Fixed argument checks and return values.
Armin Novak [Wed, 24 Feb 2016 19:16:19 +0000 (20:16 +0100)]
Fixed naming of static functions.
Armin Novak [Wed, 24 Feb 2016 16:04:03 +0000 (17:04 +0100)]
Unified RC4 functions.
Armin Novak [Wed, 24 Feb 2016 15:46:25 +0000 (16:46 +0100)]
Unified md5 functions.
Armin Novak [Wed, 24 Feb 2016 15:36:15 +0000 (16:36 +0100)]
Unified sha1 functions.
Armin Novak [Wed, 24 Feb 2016 08:43:53 +0000 (09:43 +0100)]
Fixed return value for DST.
Armin Novak [Wed, 24 Feb 2016 08:42:12 +0000 (09:42 +0100)]
Readded read timezone from link.
Armin Novak [Tue, 23 Feb 2016 17:15:25 +0000 (18:15 +0100)]
Implemented timezone detection for android
Refactored version of patch from pxx02134
Armin Novak [Tue, 23 Feb 2016 17:08:18 +0000 (18:08 +0100)]
Refactored timezone functions.
akallabeth [Tue, 23 Feb 2016 19:23:52 +0000 (20:23 +0100)]
Merge pull request #3149 from bmiklautz/feb22
Misc fixes
Bernhard Miklautz [Tue, 23 Feb 2016 18:11:32 +0000 (19:11 +0100)]
Merge pull request #3150 from xhaakon/subsystem-lib
server/shadow: Build libraries for shadow subsystems