platform/upstream/freerdp.git
9 years agoHandle API updated.
Armin Novak [Fri, 3 Jul 2015 07:36:58 +0000 (09:36 +0200)]
Handle API updated.

9 years agoWSAEventSelect: Handle lNetworkEvents == 0
Armin Novak [Fri, 3 Jul 2015 07:29:36 +0000 (09:29 +0200)]
WSAEventSelect: Handle lNetworkEvents == 0

WSAEventSelect did ignore the lNetworkEvents argument.
In case this argument is 0, the non blocking socket must
be set to blocking again to mimic windows behavior.

9 years agoAdded write event support to handle functions.
Armin Novak [Fri, 3 Jul 2015 07:25:41 +0000 (09:25 +0200)]
Added write event support to handle functions.

Allows the WinPR HANDLE functions WaitForSingleObject and
WaitForMultipleObjects to signal in case of write events.
This is used by CreateFileDescriptor and SetEventFileDescriptor,
which got an API change accomodating for this new feature.

9 years agoAdded convenience function winpr_log_backtrace.
Armin Novak [Fri, 3 Jul 2015 07:22:02 +0000 (09:22 +0200)]
Added convenience function winpr_log_backtrace.

9 years agoMerge pull request #2759 from bmiklautz/fix/cliprdp
Bernhard Miklautz [Thu, 2 Jul 2015 14:28:55 +0000 (16:28 +0200)]
Merge pull request #2759 from bmiklautz/fix/cliprdp

x11/cliprdr: handle empty format names

9 years agox11/cliprdr: handle empty format names
Bernhard Miklautz [Thu, 2 Jul 2015 13:39:35 +0000 (15:39 +0200)]
x11/cliprdr: handle empty format names

The recently added strdup checks ignored the fact that format names
can be NULL.

9 years agoMerge pull request #2747 from ilammy/egfx-missing-events
Hardening [Thu, 2 Jul 2015 13:08:31 +0000 (15:08 +0200)]
Merge pull request #2747 from ilammy/egfx-missing-events

Do not discard events when updating EGFX surface mapping

9 years agoMerge pull request #2758 from bmiklautz/fix/CreateProcess
Hardening [Thu, 2 Jul 2015 11:11:06 +0000 (13:11 +0200)]
Merge pull request #2758 from bmiklautz/fix/CreateProcess

CreateProcess misc fixes

9 years agoCreateProcess: fix setting of default handler
Bernhard Miklautz [Thu, 2 Jul 2015 10:25:48 +0000 (12:25 +0200)]
CreateProcess: fix setting of default handler

If SA_SIGINFO isn't set in the flags sa_handler is used
instead of sa_sigaction.

This fixes also the compiler warning:

FreeRDP/winpr/libwinpr/thread/process.c: In function ‘_CreateProcessExA’:
FreeRDP/winpr/libwinpr/thread/process.c:282:20: warning: assignment from
       incompatible pointer type [enabled by default]

9 years agoCreateProcess: two fixes
Bernhard Miklautz [Thu, 2 Jul 2015 10:05:46 +0000 (12:05 +0200)]
CreateProcess: two fixes

* change to lpCurrentDirectory if set even if no token was supplied
* fix wrong check - add missing !

This was part of akallabeth's PR #2714.

9 years agoMerge pull request #2757 from nfedera/nf-fix-createprocess-signals
Bernhard Miklautz [Thu, 2 Jul 2015 10:02:51 +0000 (12:02 +0200)]
Merge pull request #2757 from nfedera/nf-fix-createprocess-signals

winpr: fix CreateProcess signal handler issues

9 years agowinpr: fix CreateProcess signal handler issues
Norbert Federa [Thu, 2 Jul 2015 09:21:09 +0000 (11:21 +0200)]
winpr: fix CreateProcess signal handler issues

The calling thread of CreateProcess can be in any library and
can have arbitrary signal masks and handlers.

We now save the caller's mask and  block all signals before forking.
After fork:
- child resets the handlers and unblocks all signals.
- parent restores the caller's original signal mask.

9 years agoMerge pull request #2754 from akallabeth/mixed_code
Hardening [Thu, 2 Jul 2015 07:27:27 +0000 (09:27 +0200)]
Merge pull request #2754 from akallabeth/mixed_code

Fixed mixed declarations and code.

9 years agoMerge pull request #2750 from realjiangms/fix_win32_wsaevent
Hardening [Thu, 2 Jul 2015 07:26:13 +0000 (09:26 +0200)]
Merge pull request #2750 from realjiangms/fix_win32_wsaevent

Fix event created for WSAEventSelect

9 years agoMerge pull request #2753 from akallabeth/nla_null_auth_fix
Bernhard Miklautz [Wed, 1 Jul 2015 14:23:00 +0000 (16:23 +0200)]
Merge pull request #2753 from akallabeth/nla_null_auth_fix

nla: Fixed handling of optional TSPasswordCreds field.

9 years agoFixed mixed declarations and code.
Armin Novak [Wed, 1 Jul 2015 14:20:56 +0000 (16:20 +0200)]
Fixed mixed declarations and code.

9 years agoNLA: Fixed length check.
Armin Novak [Wed, 1 Jul 2015 14:05:11 +0000 (16:05 +0200)]
NLA: Fixed length check.

9 years agoFixed handling of optional TSPasswordCreds field.
Armin Novak [Wed, 1 Jul 2015 13:28:35 +0000 (15:28 +0200)]
Fixed handling of optional TSPasswordCreds field.

9 years agoMerge pull request #2752 from akallabeth/nla_user_length_fix
Martin Fleisz [Wed, 1 Jul 2015 12:49:00 +0000 (14:49 +0200)]
Merge pull request #2752 from akallabeth/nla_user_length_fix

NLA decrypt credentials fixed.

9 years agoNLA decrypt credentials fixed.
Armin Novak [Wed, 1 Jul 2015 12:31:55 +0000 (14:31 +0200)]
NLA decrypt credentials fixed.

9 years agoMerge pull request #2738 from bmiklautz/ffuncs
Norbert Federa [Wed, 1 Jul 2015 11:02:32 +0000 (13:02 +0200)]
Merge pull request #2738 from bmiklautz/ffuncs

hardening: check fread and fwrite return values

9 years agoIntegrate pull request feedback
Bernhard Miklautz [Wed, 1 Jul 2015 10:22:32 +0000 (12:22 +0200)]
Integrate pull request feedback

* unify fwrite usage - set nmemb to 1 and the size to the size to write.

9 years agoFix event created for WSAEventSelect: The event we pass to WSAEventSelect should...
zihao.jiang [Tue, 30 Jun 2015 17:13:28 +0000 (01:13 +0800)]
Fix event created for WSAEventSelect: The event we pass to WSAEventSelect should be WSAEVENT instead of normal event.
From MSDN, it looks same as CreateEvent(NULL, FALSE, FALSE, NULL):
The WSACreateEvent function creates a manual-reset event object with an initial state of nonsignaled. The event object is unnamed.
However they are not really equivalent. When we use normal event, the WSAEventSelect still works but the event appears to be 'auto-reset'.

9 years agoclient/x11: do not discard events when updating EGFX surface mapping
ilammy [Tue, 30 Jun 2015 09:41:23 +0000 (12:41 +0300)]
client/x11: do not discard events when updating EGFX surface mapping

Passing True to XSync() discards any pending X11 events. Occasionally
this caused ButtonRelease or KeyRelease to be lost and not forwarded
to the remote computed, leading to stuck keys and buttons.

This should resolve issue #2391

9 years agoMerge pull request #2745 from mfleisz/fix_makecert
Bernhard Miklautz [Tue, 30 Jun 2015 08:46:38 +0000 (10:46 +0200)]
Merge pull request #2745 from mfleisz/fix_makecert

makecert: Fix double free crashes

9 years agomakecert: Fix incorrect return value check
Martin Fleisz [Tue, 30 Jun 2015 06:14:28 +0000 (08:14 +0200)]
makecert: Fix incorrect return value check

9 years agomakecert: Formatting
Martin Fleisz [Mon, 29 Jun 2015 16:10:59 +0000 (18:10 +0200)]
makecert: Formatting

9 years agomakecert: Add strdup checks
Martin Fleisz [Mon, 29 Jun 2015 16:07:26 +0000 (18:07 +0200)]
makecert: Add strdup checks

9 years agomakecert: Fix double free crashes
Martin Fleisz [Mon, 29 Jun 2015 15:49:13 +0000 (17:49 +0200)]
makecert: Fix double free crashes

9 years agoMerge pull request #2740 from realjiangms/shadow_fix_cert_2708
Bernhard Miklautz [Mon, 29 Jun 2015 09:28:06 +0000 (11:28 +0200)]
Merge pull request #2740 from realjiangms/shadow_fix_cert_2708

server/shadow: Fix incorrect handle of makecert_context_process.

9 years agoMerge pull request #2741 from awakecoding/master
Marc-André Moreau [Sun, 28 Jun 2015 19:14:04 +0000 (15:14 -0400)]
Merge pull request #2741 from awakecoding/master

egfx progressive codec frame handling

9 years agoserver/shadow: Fix incorrect handle of makecert_context_process.
zihao.jiang [Sun, 28 Jun 2015 17:39:09 +0000 (01:39 +0800)]
server/shadow: Fix incorrect handle of makecert_context_process.
Also fix another typo for makecert_context_set_output_file_name

9 years agolibfreerdp-codec: fix egfx artifacts resulting from incorrect handling of rects insid...
Marc-André Moreau [Sun, 28 Jun 2015 17:57:46 +0000 (13:57 -0400)]
libfreerdp-codec: fix egfx artifacts resulting from incorrect handling of rects inside the same egfx frame

9 years agohardening: check fread and fwrite return values
Bernhard Miklautz [Fri, 26 Jun 2015 13:58:01 +0000 (15:58 +0200)]
hardening: check fread and fwrite return values

9 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Fri, 26 Jun 2015 18:00:03 +0000 (14:00 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

9 years agochannels/rdpgfx: update debug output
Marc-André Moreau [Fri, 26 Jun 2015 17:59:41 +0000 (13:59 -0400)]
channels/rdpgfx: update debug output

9 years agoMerge pull request #2724 from bmiklautz/leak_fix
Norbert Federa [Fri, 26 Jun 2015 13:30:00 +0000 (15:30 +0200)]
Merge pull request #2724 from bmiklautz/leak_fix

Fix leaks in certificate and identity handling

9 years agoMerge pull request #2737 from nfedera/nf-fix-gdi-return-value-weirdness
Marc-André Moreau [Fri, 26 Jun 2015 13:24:08 +0000 (09:24 -0400)]
Merge pull request #2737 from nfedera/nf-fix-gdi-return-value-weirdness

libfreerdp/gdi: fixed gdi return value madness

9 years agonla: clear identity memory before releasing
Bernhard Miklautz [Fri, 26 Jun 2015 13:12:33 +0000 (15:12 +0200)]
nla: clear identity memory before releasing

9 years agoMerge pull request #2727 from akallabeth/leak_fixes_reformat
Norbert Federa [Fri, 26 Jun 2015 13:01:08 +0000 (15:01 +0200)]
Merge pull request #2727 from akallabeth/leak_fixes_reformat

Fixed leaks, NULL dereferences and broken init.

9 years agolibfreerdp/gdi: fixed gdi return value madness
Norbert Federa [Fri, 26 Jun 2015 12:32:38 +0000 (14:32 +0200)]
libfreerdp/gdi: fixed gdi return value madness

Mostly booleanization to comply with the MS API

9 years agoMerge pull request #2719 from bmiklautz/pull/2481
Marc-André Moreau [Fri, 26 Jun 2015 12:27:22 +0000 (08:27 -0400)]
Merge pull request #2719 from bmiklautz/pull/2481

OSS, tsmf, usb and BSD fixes and improvements

9 years agoMerge pull request #2736 from akallabeth/windows_client_fix
Bernhard Miklautz [Fri, 26 Jun 2015 12:20:37 +0000 (14:20 +0200)]
Merge pull request #2736 from akallabeth/windows_client_fix

Fixed windows client pre_connect return.

9 years agoMerge pull request #2734 from giox069/master
Norbert Federa [Fri, 26 Jun 2015 11:15:56 +0000 (13:15 +0200)]
Merge pull request #2734 from giox069/master

Fixes for software GDI issues #2732 and #2137

9 years agoFixed windows client pre_connect return.
Armin Novak [Fri, 26 Jun 2015 11:13:32 +0000 (13:13 +0200)]
Fixed windows client pre_connect return.

9 years agoMerge pull request #2735 from akallabeth/clipboard_temp_file_name_conversion_fix
Bernhard Miklautz [Fri, 26 Jun 2015 10:49:42 +0000 (12:49 +0200)]
Merge pull request #2735 from akallabeth/clipboard_temp_file_name_conversion_fix

[Clipboard] Fixed out of bound array access.

9 years agoMerge pull request #2729 from akallabeth/win_reg_key_by_vendor_product_define
Hardening [Fri, 26 Jun 2015 09:15:09 +0000 (11:15 +0200)]
Merge pull request #2729 from akallabeth/win_reg_key_by_vendor_product_define

Replaced hard coded registry keys with cmake defines.

9 years agoFixed out of bound array access.
Armin Novak [Fri, 26 Jun 2015 07:50:21 +0000 (09:50 +0200)]
Fixed out of bound array access.

9 years agoReturing OK when there is nothing to draw after clipping, fixes #2732
Giovanni Panozzo [Thu, 25 Jun 2015 14:54:08 +0000 (16:54 +0200)]
Returing OK when there is nothing to draw after clipping, fixes #2732

9 years agoSigned glyph offset calculation, fixes #2137
Giovanni Panozzo [Thu, 25 Jun 2015 14:49:29 +0000 (16:49 +0200)]
Signed glyph offset calculation, fixes #2137

9 years agoMerge pull request #2731 from akallabeth/mutex_cleanup_fix
Norbert Federa [Thu, 25 Jun 2015 10:39:12 +0000 (12:39 +0200)]
Merge pull request #2731 from akallabeth/mutex_cleanup_fix

Fixed mutex trylock in MutexCloseHandle.

9 years agoFixed mutex trylock in MutexCloseHandle.
Armin Novak [Thu, 25 Jun 2015 10:24:28 +0000 (12:24 +0200)]
Fixed mutex trylock in MutexCloseHandle.

9 years agoMerge pull request #2728 from bmiklautz/unsigned
Norbert Federa [Thu, 25 Jun 2015 10:11:50 +0000 (12:11 +0200)]
Merge pull request #2728 from bmiklautz/unsigned

Fix possible endless loops on cleanup.

9 years agoclipboard: fix of by one error on cleanup
Bernhard Miklautz [Thu, 25 Jun 2015 09:53:03 +0000 (11:53 +0200)]
clipboard: fix of by one error on cleanup

9 years agoIntegrate pull request feedback
Bernhard Miklautz [Thu, 25 Jun 2015 08:33:54 +0000 (10:33 +0200)]
Integrate pull request feedback

Use while instead of for with additional variable where appropriate.

9 years agoFixed cleanup of resources, only in error case now.
Armin Novak [Wed, 24 Jun 2015 12:59:59 +0000 (14:59 +0200)]
Fixed cleanup of resources, only in error case now.

9 years agoReplaced registry keys with cmake defines.
Armin Novak [Wed, 24 Jun 2015 09:12:59 +0000 (11:12 +0200)]
Replaced registry keys with cmake defines.

9 years agoFix possible endless loops on cleanup.
Bernhard Miklautz [Wed, 24 Jun 2015 10:26:13 +0000 (12:26 +0200)]
Fix possible endless loops on cleanup.

Some cleanup code possibly create endless loops because an unsigned
type was used as run variable but the check was >= 0 in the for loop.

9 years agoFixed cleanup of MachineAddresses and MachinePorts.
Armin Novak [Wed, 24 Jun 2015 10:12:40 +0000 (12:12 +0200)]
Fixed cleanup of MachineAddresses and MachinePorts.

9 years agoFixed loop condition.
Armin Novak [Wed, 24 Jun 2015 08:08:04 +0000 (10:08 +0200)]
Fixed loop condition.

9 years agoFixed memory leak.
Armin Novak [Wed, 24 Jun 2015 08:02:42 +0000 (10:02 +0200)]
Fixed memory leak.

9 years agoFixed sizeof misuse.
Armin Novak [Wed, 24 Jun 2015 08:02:30 +0000 (10:02 +0200)]
Fixed sizeof misuse.

9 years agoFixed a resource leak.
Armin Novak [Wed, 24 Jun 2015 07:45:40 +0000 (09:45 +0200)]
Fixed a resource leak.

9 years agoFixed a resource leak.
Armin Novak [Wed, 24 Jun 2015 07:33:20 +0000 (09:33 +0200)]
Fixed a resource leak.

9 years agoFixed a resource leak.
Armin Novak [Wed, 24 Jun 2015 07:29:52 +0000 (09:29 +0200)]
Fixed a resource leak.

9 years agoFixed a resource leak.
Armin Novak [Wed, 24 Jun 2015 07:29:13 +0000 (09:29 +0200)]
Fixed a resource leak.

9 years agoMerge pull request #2717 from realjiangms/shadow_encoder_fps
Martin Fleisz [Wed, 24 Jun 2015 07:22:55 +0000 (09:22 +0200)]
Merge pull request #2717 from realjiangms/shadow_encoder_fps

server/shadow: shadow encoder related enhancement/fix.

9 years agoFixed leaks, NULL dereferences and broken init.
Armin Novak [Tue, 23 Jun 2015 19:29:21 +0000 (21:29 +0200)]
Fixed leaks, NULL dereferences and broken init.

9 years agoMerge pull request #2725 from akallabeth/warning_fixes_more_more_more
Hardening [Tue, 23 Jun 2015 17:32:26 +0000 (19:32 +0200)]
Merge pull request #2725 from akallabeth/warning_fixes_more_more_more

Warning fixes more more more

9 years agoRemoved unused variable and incorrect comment.
Armin Novak [Tue, 23 Jun 2015 14:04:15 +0000 (16:04 +0200)]
Removed unused variable and incorrect comment.

9 years agoifdef variables used with specific build options.
Armin Novak [Tue, 23 Jun 2015 14:02:53 +0000 (16:02 +0200)]
ifdef variables used with specific build options.

9 years agoFix leaks in certificate and identity handling
Bernhard Miklautz [Tue, 23 Jun 2015 13:40:37 +0000 (15:40 +0200)]
Fix leaks in certificate and identity handling

9 years agoMerge pull request #2721 from akallabeth/warning_fixes_some_more
Bernhard Miklautz [Tue, 23 Jun 2015 12:30:23 +0000 (14:30 +0200)]
Merge pull request #2721 from akallabeth/warning_fixes_some_more

Some warnings fixed

9 years agoFixed memory leak.
Armin Novak [Tue, 23 Jun 2015 10:25:07 +0000 (12:25 +0200)]
Fixed memory leak.

9 years agoAdded missing argument checks.
Armin Novak [Tue, 23 Jun 2015 10:17:37 +0000 (12:17 +0200)]
Added missing argument checks.

9 years agoFixed malloc with 0 size.
Armin Novak [Tue, 23 Jun 2015 10:12:59 +0000 (12:12 +0200)]
Fixed malloc with 0 size.

9 years agoFixed uninitialized value.
Armin Novak [Tue, 23 Jun 2015 10:12:16 +0000 (12:12 +0200)]
Fixed uninitialized value.

9 years agoFixed uninitialized value.
Armin Novak [Tue, 23 Jun 2015 10:09:42 +0000 (12:09 +0200)]
Fixed uninitialized value.

9 years agoFixed grabage return value.
Armin Novak [Tue, 23 Jun 2015 10:08:47 +0000 (12:08 +0200)]
Fixed grabage return value.

9 years agoFixed NULL pointer dereference.
Armin Novak [Tue, 23 Jun 2015 10:07:38 +0000 (12:07 +0200)]
Fixed NULL pointer dereference.

9 years agotsmf_oss: fix compiler warning
Bernhard Miklautz [Tue, 23 Jun 2015 09:40:04 +0000 (11:40 +0200)]
tsmf_oss: fix compiler warning

9 years agoMerge pull request #2708 from bmiklautz/dupdup
Norbert Federa [Tue, 23 Jun 2015 09:18:19 +0000 (11:18 +0200)]
Merge pull request #2708 from bmiklautz/dupdup

alloc and strdup checks

9 years agocore: use error instead of debug
Bernhard Miklautz [Tue, 23 Jun 2015 09:08:44 +0000 (11:08 +0200)]
core: use error instead of debug

When the function would return with an error print an error message
instead of a debug message

9 years agonla and cmdline: integrated feedback
Bernhard Miklautz [Tue, 23 Jun 2015 08:14:11 +0000 (10:14 +0200)]
nla and cmdline: integrated feedback

* fix possible problems with 0 size lengths
* add return value checks

9 years agoserver/shadow: shadow encoder related enhancement/fix.
zihao.jiang [Thu, 9 Apr 2015 18:33:54 +0000 (02:33 +0800)]
server/shadow: shadow encoder related enhancement/fix.
1. Export fps related API so that subsystem implementation no longer need to know about details in encoder structure.
2. Discard frameList dictionary.
The 'value' in this dictionary is never used and not properly free'ed when client is disconnected.
The dictionary was used to calculate 'inflight' frame count. Once an ACK is received from client, an item in the dictionary is removed.
We then calculate 'inflight' frame by the count of the items in the dictionary.
However, some rdp clients (win7 mstsc) skips frame ACK if it is inactive, ACK of some frame would actually never arrive.
We actually don't need the dictionary. We only need to record the latest acknowledged frame id, and the difference between last sent frame id is the inflight frame count.
3. Minor fix in default fps calculation. encoder->frameAck is wrongly used as integer while it's actually bool flag.

9 years agooss: fix formating
Bernhard Miklautz [Mon, 22 Jun 2015 17:45:56 +0000 (19:45 +0200)]
oss: fix formating

9 years agowindows: fix compilation and warnings
Bernhard Miklautz [Mon, 22 Jun 2015 17:31:25 +0000 (19:31 +0200)]
windows: fix compilation and warnings

9 years agomisc: integrate pull request feedback
Bernhard Miklautz [Mon, 22 Jun 2015 16:52:13 +0000 (18:52 +0200)]
misc: integrate pull request feedback

9 years agoclient/locale: properly check popen return value
Bernhard Miklautz [Mon, 22 Jun 2015 12:26:11 +0000 (14:26 +0200)]
client/locale: properly check popen return value

popen returns NULL if an error occurs and not < 0.

9 years agoclient/android: reset debug level to default
Bernhard Miklautz [Mon, 22 Jun 2015 10:09:18 +0000 (12:09 +0200)]
client/android: reset debug level to default

* WLOG debug level was hard coded to DEBUG which generates a lot of
  noise
* remove indecent and unneeded debug message

9 years agosspi/ntlm: integrate pull request comments
Bernhard Miklautz [Fri, 19 Jun 2015 08:38:37 +0000 (10:38 +0200)]
sspi/ntlm: integrate pull request comments

9 years agocmd line: add missing checks
Bernhard Miklautz [Thu, 18 Jun 2015 11:00:10 +0000 (13:00 +0200)]
cmd line: add missing checks

* strdup
* some allocs

9 years agocache: fix regression
Bernhard Miklautz [Wed, 17 Jun 2015 10:23:14 +0000 (12:23 +0200)]
cache: fix regression

Fix a regression in cache_new introduced in commit
b4f147e242ea396ef92082d29866e5ab7d041b4e

9 years agocodec/planar: regression - fix conflicting types
Bernhard Miklautz [Tue, 16 Jun 2015 15:47:33 +0000 (17:47 +0200)]
codec/planar: regression - fix conflicting types

Update planar.h to fix the conflicting types of
freerdp_bitmap_planar_delta_encode_planes.

9 years agoFixes for malloc / calloc + other fixes
David FORT [Tue, 16 Jun 2015 13:42:07 +0000 (15:42 +0200)]
Fixes for malloc / calloc + other fixes

This patch contains:

* checks for malloc return value + treat callers;
* modified malloc() + ZeroMemory() to calloc();
* misc fixes of micro errors seen during the code audit:
** some invalid checks in gcc.c, also there were some possible
integer overflow. This is interesting because at the end the data are parsed
and freed directly, so it's a vulnerability in some kind of dead code (at least
useless);
** fixed usage of GetComputerNameExA with just one call, when 2 were used
in misc places. According to MSDN GetComputerNameA() is supposed to return
an error when called with NULL;
** there were a bug in the command line parsing of shadow;
** in freerdp_dynamic_channel_collection_add() the size of array was multiplied
by 4 instead of 2 on resize

9 years agoA malloc() pass on WinPR
David FORT [Sat, 13 Jun 2015 22:55:09 +0000 (00:55 +0200)]
A malloc() pass on WinPR

This patch treats remaining non-checked mallocs. And changes to calloc in places
where it makes sense

9 years agoclient/android: misc updates and fixes
Bernhard Miklautz [Tue, 16 Jun 2015 14:03:34 +0000 (16:03 +0200)]
client/android: misc updates and fixes

* increase minimum required SDK to 14
* change functions from void to BOOL where required to have proper
  return values
* update the JAVA classes and JNI accordingly
* add return value checks for *alloc and strdup

9 years agoandroid: fix misc compiler warnings
Bernhard Miklautz [Wed, 10 Jun 2015 16:57:05 +0000 (18:57 +0200)]
android: fix misc compiler warnings

with gcc version arm-linux-androideabi-gcc (GCC) 4.8

9 years agowinpr/wtsapi: disable tests that block on windows
Bernhard Miklautz [Wed, 3 Jun 2015 14:44:07 +0000 (16:44 +0200)]
winpr/wtsapi: disable tests that block on windows

9 years agowinpr/thread: fix test compilation on windows
Bernhard Miklautz [Wed, 3 Jun 2015 13:53:44 +0000 (15:53 +0200)]
winpr/thread: fix test compilation on windows

Use DWORD instead of QWORD.