Armin Novak
70df8d8ba9
Fixed static function arguments.
2015-06-02 09:50:59 +02:00
Armin Novak
8f68b9c261
Using vendor/product scheme for settings now.
2015-06-02 09:50:53 +02:00
Armin Novak
d1223d3799
Fixed windows known path locations.
2015-06-02 09:50:48 +02:00
Vic Lee
1d31f25992
h264: add encoder constant QP rate control.
2015-06-02 15:32:45 +08:00
Hardening
29de9b6d4e
Merge pull request #2658 from hardening/fix_2657
...
Fix for #2657
2015-05-29 17:58:30 +02:00
Hardening
c75ba04d72
Merge pull request #2647 from hardening/fix_message_queue
...
Fixed MessageQueue and callers
2015-05-29 14:38:58 +02:00
David FORT
84ae1d1cfb
Take in account nfedera's remarks
2015-05-29 14:24:14 +02:00
David FORT
a9709a62cc
Check some return values
2015-05-29 14:24:14 +02:00
David FORT
909a965fe9
Added misc checks in rdg.c
2015-05-29 14:24:14 +02:00
David FORT
d26ce6971c
Fixed nfedera's remarks
2015-05-29 14:24:14 +02:00
David FORT
12f873f1f9
Fixed MessageQueue and callers
2015-05-29 14:24:14 +02:00
Hardening
4586450e27
Merge pull request #2661 from MartinHaimberger/mh-stream-fix
...
stream: check stream_new in winpr and libfreerdp
2015-05-29 14:12:59 +02:00
Martin Haimberger
951a2d2210
stream: check stream_new in winpr and libfreerdp
...
also fixed a few things
2015-05-29 04:46:50 -07:00
Hardening
1b366816a2
Merge pull request #2608 from oshogbo/master
...
Add check to protect memcpy(3) from using NULL pointer.
2015-05-29 10:49:42 +02:00
Hardening
dbb67cdf7f
Merge pull request #2642 from hardening/shadow_fix
...
Specify to skip compression with remoteFx frames
2015-05-28 22:58:15 +02:00
Hardening
2ec3734607
Merge pull request #2659 from oshogbo/unused
...
Remove unused variable.
2015-05-28 22:57:17 +02:00
Hardening
ca274b6b49
Merge pull request #2660 from nfedera/fix-tsmf-channel
...
tsmf: fix invalid check and a potential segfault
2015-05-28 11:09:07 +02:00
Hardening
f7f58f64c8
Merge pull request #2646 from eledoux/thread_list
...
fixed a synchronization issue on thread_list
2015-05-28 10:51:53 +02:00
Norbert Federa
8e70012d65
tsmf: fix invalid check and a potential segfault
...
This resuscitates tsmf which was accidently broken in commit f8120919
2015-05-28 10:49:38 +02:00
Emmanuel Ledoux
de1a21eadd
winpr-thread: added HP's copyright
2015-05-27 18:24:56 +02:00
Emmanuel Ledoux
206714a270
winpr-thread: thread_list's synchronization based on a pthread_cond_t
2015-05-27 18:15:17 +02:00
Mariusz Zaborski
461497b8a5
Remove unused variable.
2015-05-27 16:04:06 +02:00
David FORT
85c350f5da
Fix for #2657
2015-05-27 15:13:43 +02:00
Marc-André Moreau
a2e0746f15
Merge pull request #2653 from bmiklautz/lzcnt
...
winpr: add intrin.h
2015-05-27 09:00:22 -04:00
Bernhard Miklautz
03ec9bed93
winpr/test: incorporate comments from pull request
...
* Fix TestIntrinsics - always returned 0
* rename TestWinpr to TestWinPR for consistency
* update gitignores accordingly
2015-05-27 10:32:08 +02:00
Emmanuel Ledoux
f74cd12df2
winpr-thread: a better error message and comments about thread_list
2015-05-26 18:15:57 +02:00
Emmanuel Ledoux
56f34582c7
winpr-thread: added an assertion to enforce that thread_list is correctly set
2015-05-26 17:55:27 +02:00
Emmanuel Ledoux
93127e0a7a
winpr-thread: thread_list's synchronization based on an Event
2015-05-26 17:40:34 +02:00
Bernhard Miklautz
f9c7e03044
winpr: add intrin.h
...
Exposing lzcnt in crt.h might causes compiler errors (redefinition) with
recent versions of gcc (>=4.9) when winpr is included in other projects.
As lzcnt isn't part of crt according to MSDN and also shouldn't be
exported by default it was moved to intrin.h.
The related test was also moved to the top level directory of winpr.
2015-05-26 16:41:29 +02:00
Mariusz Zaborski
951dbd88de
In c file the name is channelId.
2015-05-26 16:12:41 +02:00
Hardening
58b1995619
Merge pull request #2654 from oshogbo/typos
...
Typo
2015-05-26 16:10:41 +02:00
Hardening
83d5b26a46
Merge pull request #2652 from nfedera/fix-ios-context-new
...
client/iOS: fix ios_context_new
2015-05-26 08:39:08 +02:00
Norbert Federa
8a53e5ee68
client/iOS: fix ios_context_new
...
- fixed wrong signature since ContextNew is BOOL now
- added error checking
2015-05-25 22:21:53 +02:00
Jakub Adam
dea741fca9
shadow_screen: allow sub-rectangle to span multiple monitors
...
When we share a sub-rectangle of our desktop, allow it to span over
multiple monitors. Previously it was possible to export an area larger
than one display, however the contents were always cropped to
the boundaries of the selected monitor and the rest was visible for
the client only as a black area .
2015-05-25 14:19:34 +02:00
Mariusz Zaborski
80958751e4
Add check to protect memcpy(3) from using NULL pointer.
...
The ntlm_construct_challenge_target_info function can potentially pass NULL as
argument to the ntlm_av_pair_add function (for example DnsDomainName.Buffer).
This NULL finally lands in the CopyMemory (which is macro to the memcpy(3)
function) which can't handle NULL.
2015-05-25 08:32:48 +02:00
Marc-André Moreau
36cb1e6dc9
Merge pull request #2639 from awakecoding/master
...
WLog, server-side rdpdr, remote assistance, byteswap, etc
2015-05-22 14:30:11 -04:00
Marc-André Moreau
649d49549e
Merge pull request #2644 from xhaakon/shadow-server-disposal
...
shadow_client: dispose encomsp and remdesk
2015-05-22 14:15:31 -04:00
Marc-André Moreau
30fc814efa
Merge pull request #2643 from xhaakon/shadow-server-client-disconnect
...
Don't dispose shadow server before all clients have disconnected
2015-05-22 14:15:09 -04:00
Marc-André Moreau
35e26020aa
freerdp: patch multiple leaks and OOM errors
2015-05-22 14:14:57 -04:00
Emmanuel Ledoux
f94ab0033b
winpr-thread: better error message upon a failure of TestThreadExitThread
2015-05-22 19:17:30 +02:00
Emmanuel Ledoux
6f5de27081
winpr-thread:
...
- added the unit test: TestThreadExitThread
- fix: ensure thread_list to be up to date before to call ExitThread()
- possibly resolved: Problems with serial redirection #2389
2015-05-22 18:28:10 +02:00
Marc-André Moreau
7a06640c16
libwinpr-shell: use getpwnam_r
2015-05-22 10:03:21 -04:00
Jakub Adam
bc1bbe61a8
shadow_client: dispose encomsp and remdesk
...
Their threads were kept running after the client's exit.
2015-05-22 14:01:29 +02:00
Jakub Adam
9e60246a8c
Don't dispose shadow server before all clients have disconnected
...
Ensure all client threads are disconnected before we stop the server
thread and thus make it available for deletion. We do this because
shadow_client_context_free() accesses rdpShadowServer structure, which
we have to keep alive as long as it is needed.
Calling shadow_client_context_free() after shadow_server_stop() and
shadow_server_free() were called may have caused an application crash.
2015-05-22 13:56:57 +02:00
Jakub Adam
73888a57c2
Ensure threads have finished using a barrier before releasing it
...
MSDN documentation says it is ensured that all threads in the barrier
have finished using it before allowing the barrier to be released in
DeleteSynchronizationBarrier(). The winpr re-implementation wasn't
keeping to that requirement, which was causing occasional crashes
when shadow client tried to access already freed barrier structure.
The crash was occuring in winpr_Handle_cleanup() after finished
waiting on a barrier's event.
2015-05-22 13:36:15 +02:00
Bernhard Miklautz
7a1485a2e4
Merge pull request #2638 from kwitaszczyk/master
...
Assign peer to settings when a new RDP module is being initialized.
2015-05-22 13:36:00 +02:00
David FORT
b01d64d386
Specify to skip compression with remoteFx frames
2015-05-22 11:12:41 +02:00
Hardening
ff1eb9d64d
Merge pull request #2640 from xsumbe00/master
...
winsock.c Solaris build fixes
2015-05-22 09:56:59 +02:00
Marc-André Moreau
89642923d1
channels/rdpdr: add more server-side error checking
2015-05-21 16:50:29 -04:00
Petr Sumbera
fe5ce30f92
winsock.c Solaris build fixes
2015-05-21 13:24:03 -07:00