Norbert Federa
90cdfa7646
cmake: replaced STATIC_CHANNELS with BUILTIN_CHANNELS
2016-06-15 13:36:27 +02:00
Norbert Federa
0ed98c4ee4
channels/audin/client/winmm: requires winpr
2016-06-15 13:30:38 +02:00
akallabeth
cf127ebfb9
Merge pull request #3357 from realjiangms/fix_rdpsnd_race
...
shadow/rdpsnd: Fix race condition in rdpsnd channel server.
2016-05-23 16:21:49 +02:00
zihao.jiang
444b678e71
shadow/rdpsnd: Fix race condition in rdpsnd channel server. The output buffer and format parameters are not protected. This cause some data inconsistence if rdpsnd has own thread
2016-05-22 22:13:32 +08:00
Bernhard Miklautz
41298d69a9
build: fix builds with -DBUILD_SHARED_LIBS=OFF
...
When no shared libs are built is required to export all generated
archive files otherwise programs linking against
freerdp-client/freerdp-server might miss symbols.
Fixes #3350
2016-05-18 17:13:45 +02:00
Armin Novak
704d69d540
Fixed NULL pointer access.
2016-05-12 09:28:12 +02:00
Marc-André Moreau
54cdd6a1ae
channels/rdpgfx: fix resetting of codec contexts
2016-05-11 13:42:54 -04:00
Marc-André Moreau
915b9a15b1
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
winpr/libwinpr/bcrypt/CMakeLists.txt
2016-05-11 11:05:17 -04:00
Armin Novak
48b11cf150
Dynamic channel internal functions now static.
2016-04-26 09:35:54 +02:00
Armin Novak
8917a3da95
Fix CB_FILECONTENTS_REQUEST message decoding.
...
Do not require optional fields to be present as required by
[MS-RDPECLIP] 2.2.5.3 File Contents Request PDU (CLIPRDR_FILECONTENTS_REQUEST)
2016-04-19 16:47:44 +02:00
Bernhard Miklautz
62cb5fac44
build: add missing dependencies
...
Add all missing dependencies found when building with
STATIC_CHANNELS=OFF.
Fixes #3281
2016-04-15 14:32:40 +02:00
Bernhard Miklautz
783807229d
build: add missing dependencies
...
Add all missing dependencies found with --no-undefined. Since
dependencies aren't exported anymore (if not required) it is no necessary
to explicitly list all required libraries.
2016-04-07 15:10:00 +02:00
Bernhard Miklautz
a0d9969a30
Merge pull request #3254 from akallabeth/avc444_cmd_arg
...
Added advanced gfx command line options.
2016-03-31 11:43:38 +02:00
Marc-André Moreau
cedf6d98e2
freerdp: more UWP porting
2016-03-29 20:34:52 -04:00
Marc-André Moreau
4d629a7999
freerdp: UWP porting
2016-03-29 16:03:15 -04:00
Bernhard Miklautz
bafe1aa17e
usbdrc: remove unused dependencies
2016-03-29 18:14:34 +02:00
Bernhard Miklautz
9e8c6c99b6
First shot on fixing over linking
...
If a target is linked against libraries with cmake
(target_link_libraries) and the libraries are not marked as PRIVATE
they are "exported" and in case a other target is linked against this
target it is also linked against *all* (not private) libraries.
Without declaring private libraries PRIVATE a lot of over linking
(linking against unneeded libraries) was done.
2016-03-29 18:14:34 +02:00
Armin Novak
50873be062
Added advanced gfx command line options.
2016-03-24 16:36:43 +01:00
Armin Novak
43b13ffcd2
Replace SetFilePointerEx with SetFilePointer.
2016-03-17 09:34:24 +01:00
Armin Novak
f45be8dab0
Print device name when loading channel.
2016-03-17 09:33:39 +01:00
Armin Novak
9ab3532bf8
Renamed GFX defines to conform to spec.
2016-03-16 13:43:18 +01:00
Armin Novak
5bc333c626
Implemented GFX AVC444 support.
2016-03-16 13:43:18 +01:00
Armin Novak
3a3ec85898
Unified RDPGFX_RECT16 and RECTANGLE_16
2016-03-16 13:43:17 +01:00
Marc-André Moreau
9211f44e46
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2016-03-15 20:19:15 -04:00
Armin Novak
2dbc1a0b87
Reverted WTS API changes.
2016-03-14 13:19:08 +01:00
Armin Novak
36cbf1b583
Fixed error handling for channel load failures.
2016-03-14 13:13:43 +01:00
zihao.jiang
40ea6e9228
audin: Fixed default sys argument for audin
...
PR #3173 fixed argument parsing. However it breaks the usage without specifying subsystem: "/microphone"
In particular, aFreerdp microphone redirect is broken as it exactly uses "/microphone"
This PR fixes the regression.
Fix: We should not call CommandLineParseArgumentsA if argc is only 1 (same case as rdpsnd_main.c)
2016-03-11 01:52:18 +08:00
Marc-André Moreau
ceefc4b099
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2016-03-07 10:19:50 -05:00
akallabeth
52f1e6b27a
Merge pull request #3086 from DavBfr/fix-rdpdr
...
Fixes for rdpdr
2016-03-07 10:55:51 +01:00
Hardening
fb63dd267c
Merge pull request #3194 from nfedera/fix-convertfromunicode-hardening
...
ConvertFromUnicode fixes and misc hardening
2016-03-04 11:19:00 +01:00
Bernhard Miklautz
120bd2d8bd
Merge pull request #3173 from akallabeth/audin_arg_fix
...
Fixed argument parsing for audin.
2016-03-03 20:39:31 +01:00
Armin Novak
fb88ad0ee6
Fixed symbol export for sound plugins.
2016-03-03 17:17:13 +01:00
Norbert Federa
ef4b29e5b3
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
2016-03-03 16:56:19 +01:00
David PHAM-VAN
40504c5460
Fix Uninitialized Variable
2016-03-02 10:04:24 -08:00
David PHAM-VAN
f4eb278935
Mount only removable devices and network drives in Windows; Adds consistency with Linux and Mac
2016-03-02 10:01:51 -08:00
David PHAM-VAN
31d9599d09
Move first_hotplug call to parent thread to avoid parallel access to devman dictionary
2016-03-02 10:01:51 -08:00
David PHAM-VAN
2f28b6c38b
Improve code using more winpr functions
2016-03-02 10:01:51 -08:00
David PHAM-VAN
2e1e6a4ff0
Add hotplug support for MacOS
2016-03-02 10:01:51 -08:00
David PHAM-VAN
a20950faa0
Implement FileAllocationInformation
2016-03-02 10:01:51 -08:00
Bernhard Miklautz
e02af8287e
Merge pull request #3160 from akallabeth/stream_fixes
...
Stream fixes
2016-03-01 16:44:19 +01:00
Armin Novak
e7814d5855
Fixed stream API for Stream_Copy.
2016-03-01 12:57:48 +01:00
Bernhard Miklautz
25506348d0
Merge pull request #3168 from akallabeth/visibility_fixes
...
Fixed default visibility.
2016-02-29 16:59:58 +01:00
Armin Novak
68c402ac58
Removed windows module.def files.
...
All symbols exported from libraries are declared
using *_API defines.
2016-02-29 15:18:47 +01:00
Armin Novak
5acd80dd5b
Exporting channel entry points.
2016-02-29 15:18:19 +01:00
Armin Novak
8482fbf854
Fixed formatting.
2016-02-29 12:34:53 +01:00
Hardening
da9d9ed450
Merge pull request #3165 from akallabeth/printer_fix
...
Printer fix
2016-02-29 10:31:50 +01:00
Armin Novak
71bea3e1d0
Fixed argument parsing for audin.
2016-02-28 19:56:57 +01:00
zihao.jiang
17139b9fe6
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
2016-02-28 13:43:11 +08:00
David PHAM-VAN
8ebe5b9930
Fix bad malloc size in statvfs
2016-02-26 09:45:35 -08:00
Armin Novak
b7187d04a5
Printer driver from command line now used.
2016-02-26 16:14:18 +01:00
Bernhard Miklautz
8bdad1eb93
Merge pull request #3140 from hardening/printer_work
...
Misc changes
2016-02-25 16:57:34 +01:00
Bernhard Miklautz
e6f013eac7
fix spelling
...
replace occured with occurred
Fixes #3142
2016-02-22 17:01:43 +01:00
David FORT
60fed9d574
Mutualize definitions for the printer channel
2016-02-16 22:24:51 +01:00
Marc-André Moreau
8fa25aae6a
mfreerdp: fix build on 32-bit with mac audio
2016-02-16 13:42:08 -05:00
Armin Novak
c430d5eeb5
Removed broken check, fixes #3112
2016-02-05 10:50:26 +01:00
Hardening
13df05be78
Merge pull request #3079 from akallabeth/drive_hotplug_fix
...
Fixed argument checks for drive channel.
2016-02-04 09:06:43 +01:00
Norbert Federa
157d81b268
Merge pull request #3104 from akallabeth/sign_mismatch_fixes
...
Sign mismatch warnings fixed
2016-02-03 12:56:45 +01:00
Armin Novak
d267750a79
Fixed flac caps creation.
2016-02-03 11:55:23 +01:00
Armin Novak
539be1f9a5
Fixed unsigned underflow.
2016-02-03 11:30:15 +01:00
Armin Novak
511f9e810a
Use ERROR_INVALID_DATA for short buffers.
2016-02-03 11:04:35 +01:00
Armin Novak
96aecca394
Fixed length check issue.
2016-02-02 17:59:56 +01:00
David PHAM-VAN
3f5ce2d43f
Refactor format_supported with a nice switch() statement
2016-01-29 09:58:48 -08:00
David PHAM-VAN
8ef64aee96
Add ADPCM codec for Mac client
2016-01-28 16:11:39 -08:00
Armin Novak
d847993a0c
Using Stream_ReminingLength for read checks.
2016-01-28 12:30:10 +01:00
Armin Novak
6f50589c05
Cleared up error code usage.
2016-01-28 12:05:14 +01:00
Armin Novak
8595e395ab
Fixed size checks (thanks to @virtman)
2016-01-28 11:45:06 +01:00
Armin Novak
57f1e26f36
Checking capability read return.
...
Updated copyright headers.
2016-01-28 11:14:29 +01:00
Armin Novak
e08ca73ddc
Improved error checks.
2016-01-27 19:26:52 +01:00
Armin Novak
deffd0d781
Fixed argument checks for drive channel.
2016-01-24 15:21:06 +01:00
Bernhard Miklautz
ede0da3280
build: fix a problem with cmake version 2.8.11
...
Starting with cmake 2.8.10 FreeRDP exports a cmake find module. With 2.8.12
the PRIVATE/PUBLIC keywords were introduced in cmake. When building with
2.8.11 it is not possible to mark link dependencies as private and
therefore they need to be exported.
2016-01-15 13:32:25 +01:00
Armin Novak
aa90673008
Fixed memory leak on cleanup.
2016-01-15 09:33:21 +01:00
Bernhard Miklautz
6fa3608111
cleanup cmake exports and pkg-config files
...
With this commit the "exported" components (usable with pkg-config and
cmake find module package)
* winpr - winpr library and headers
* freerdp - core library and headers
* freerdp-client - client specific library
* freerdp-server - server specific library
* rdtk - rdtk headers and library
To allow the installation of multiple different version (different major
number) the include files were moved into the respective sub folder:
freerdp -> freerdp{MAJOR}/freerdp (currently freerdp2/freerdp/)
winpr -> winpr{MAJOR}/winpr (currently winrp1/winpr/)
rdtk -> rdpk{MAJOR}/rdtk (currently rdtk0/rdtk/
The generated pkg-config and cmake find modules now also include the major
version number. Currently the following pkg-config are generated and
installed.
* winpr1
* freerdp2
* freerdp-server2
* freerdp-client2
* rdtk0
As cmake is able to handle multiple versions out of the box the
following can be used to find a specific module:
find_package(WinPR)
find_package(FreeRDP)
find_package(FreeRDP-Server)
find_package(FreeRDP-Client)
find_package(RdTk)
As cmake doesn't automatically resolve dependencies for packages it is
necessary to manually include the requirements. For example if
FreeRDP-Client is required WinPR and FreeRDP need to be included
(find_package) as well.
This commit also fixes the installation when STATIC_CHANNELS are built.
WITH STATIC_CHANNELS all channels are linked into libfreerdp-client, for
this all channels are generated as linker archive and linked together in
the final step. Before the intermediate linker archives were, although
not required and useful, installed. Same applies for server side
channels.
2016-01-12 17:32:33 +01:00
Bernhard Miklautz
97edeca204
Merge pull request #2874 from akallabeth/stdtypes
...
Using stdint.h and stdbool.h for type definitions
2015-12-17 16:37:54 +01:00
Armin Novak
6ed43cd6ec
Updated pdb file locations.
...
Now supporting generators NMake and Visual Studio.
2015-12-15 12:08:35 +01:00
Armin Novak
cb958ba9c6
Added pdb files to package target.
...
Fixed name collision with freerdp-shadow targets.
2015-12-15 12:07:21 +01:00
Hardening
55d097a161
Merge pull request #2414 from zavadovsky/opensles_fixes
...
opensles fixes
2015-12-14 17:22:38 +01:00
Hardening
292a37b719
Merge pull request #2772 from bjcollins/master
...
tsmf updates/fixes for gstreamer decoder on X11 platform
2015-12-14 16:08:13 +01:00
Hardening
58d80d23d5
Merge pull request #2973 from hopToDev/master
...
Fixed build errors that occur when setting WITH_IOSAUDIO build option
2015-12-14 15:10:33 +01:00
Armin Novak
90251f5e0d
Fixed OnNewChannelConnection arguments
2015-12-14 14:18:50 +01:00
Armin Novak
639c176004
Fixed DecodeEx return value
2015-12-14 14:18:50 +01:00
Hardening
70b9e994e1
Merge pull request #2941 from akallabeth/clipboard_file_fix
...
Clipboard file fixes
2015-12-10 16:13:24 +01:00
Hardening
17a1127341
Merge pull request #2976 from akallabeth/mac_audin_support
...
Added audin support for mac os.
2015-12-09 14:56:56 +01:00
Martin Fleisz
6890e0b84d
cliprdr/server: Fix incorrect message flags
2015-11-19 16:29:57 +01:00
Martin Fleisz
fc2768f807
cliprdr/server: Fix incorrect message header
2015-11-19 16:17:36 +01:00
Martin Fleisz
3070cab0fa
cliprdr/server: Fix parsing of file contents request PDU
2015-11-19 14:12:26 +01:00
Armin Novak
f4a466b798
Added mac implementation.
2015-11-13 11:47:58 +01:00
Armin Novak
f6e17ec65c
Added audin support for mac os.
2015-11-12 16:10:39 +01:00
Mehul Dhorda
044ebaafcd
Fixed build errors that occur when setting WITH_IOSAUDIO build option.
...
- Replaced } with ) in CMakeLists.txt
- Included header in TPCircularBuffer.c which is required for the TAG define
2015-11-10 11:39:37 -08:00
bjcollins
d83386bf87
Fix issue with previous commit, Xext is not required for tsmf but the
...
definition for it still needs to be added when found.
2015-11-10 10:59:13 -06:00
Bernhard Miklautz
0cdb4f7924
Fix compiler warnings
...
gcc (Debian 4.9.2-10) 4.9.2
winpr/libwinpr/thread/argv.c: In function ‘CommandLineToArgvA’:
winpr/libwinpr/thread/argv.c:94:6: warning: unused variable ‘index’ [-Wunused-variable]
int index;
winpr/libwinpr/file/test/TestFileGetStdHandle.c: In function ‘TestFileGetStdHandle’:
winpr/libwinpr/file/test/TestFileGetStdHandle.c:44:2: warning: implicit
declaration of function ‘CloseHandle’ [-Wimplicit-function-declaration]
CloseHandle(stdout);
^
libfreerdp/codec/test/TestFreeRDPRegion.c: In function ‘test_norbert2_case’:
libfreerdp/codec/test/TestFreeRDPRegion.c:697:6: warning: unused variable ‘i’ [-Wunused-variable]
int i;
channels/cliprdr/server/cliprdr_main.c: In function ‘cliprdr_server_receive_format_list’:
channels/cliprdr/server/cliprdr_main.c:636:24: warning: unused variable ‘cliprdr’ [-Wunused-variable]
CliprdrServerPrivate* cliprdr = (CliprdrServerPrivate*) context->handle;
^
channels/cliprdr/server/cliprdr_main.c: In function ‘cliprdr_server_init’:
channels/cliprdr/server/cliprdr_main.c:1097:24: warning: unused variable ‘cliprdr’ [-Wunused-variable]
CliprdrServerPrivate* cliprdr = (CliprdrServerPrivate*) context->handle;
2015-11-09 19:26:34 +01:00
Bernhard Miklautz
d73c4898c1
Add build-config.h
...
build-config.h should contain configure/compile time settings that are
relevant for projects that use FreeRDP.
For example the compiled in plugin search paths.
2015-11-09 15:54:22 +01:00
Martin Fleisz
25b1e39460
cliprdr/server: Server-side file content receiving used wrong callback
2015-10-29 12:45:12 +01:00
Martin Fleisz
730f43a380
cliprdr/server: Provide the server with a possibility to configure capabilities
2015-10-27 17:12:33 +01:00
Armin Novak
17a2d1ba1c
Fixed clipboard file contents response and message to string.
2015-10-27 10:44:31 +01:00
Martin Fleisz
2d99f76667
cliprdr/server: Fix memory leak
2015-10-23 08:49:24 +02:00
Martin Fleisz
26d102c6dc
cliprdr/server: Don't call CloseHandle on EventHandle
2015-10-16 11:40:25 +02:00
Marc-André Moreau
1b7e36a20f
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-10-13 11:09:43 -04:00
Armin Novak
82134fbef3
Remove unnecessary copy operation.
2015-10-02 09:29:00 +02:00
Marc-André Moreau
3fd0c45be8
afreerdp: fix build warnings
2015-09-22 11:53:50 -04:00
bjcollins
456416a871
Dont use invalid/bogus input value for cbAtrLen for Smartcard Status Calls, instead just always use the max value here to indicate we have max
...
buffer space available.
2015-09-18 16:55:06 -05:00
bjcollins
9b2d5ce849
Fix logic with stream syncing as the sync offset was not always calculated correctly, which could result in video playback freezing.
...
Fixed formatting of some tsmf debugging timestamps so they are readable/usabe.
2015-09-17 16:20:08 -05:00
bjcollins
d9754703f4
Fixed memory leak in tsmf_send_eos_response() function
...
Correctly handled tsmf geometry updates with no rects = tsmf window should not be shown
Add more X Display locking to tsmf gstreamer X11 module
2015-09-17 16:20:08 -05:00
bjcollins
0cb54119a5
Remove strict dependency on Xext for tsmf, it is optional not required
2015-09-17 16:20:08 -05:00
bjcollins
ca097e7363
Fix minor issues with the previous tsmf commits.
2015-09-17 16:20:08 -05:00
bjcollins
8d692995d6
tsmf gstreamer fixes
...
- Update patch based on feedback
- Fix gstreamer 1.0 compatibility/build issue from first patch
2015-09-17 16:20:08 -05:00
bjcollins
e8704544f4
- Use decodebin2 instead of old decodebin - decodebin has issues
...
- Use autovideosink - xvimagesink does not work with cards with no xv ports available and cant be used if wanted to use the fluendo hardware accelerated playback codec
- Use autoaudiosink - let gstreamer choose best audio playback plugin
- Catch when autosinks add known elements so that we can manipulate properties on them
- Adjust caps of various media types to work better with gstreamer, some codecs are picky about having certain fields available
- Remove unneeded plugins such as "ffmpegcolorspace" and "videoscale" - these do not work correctly with fluendo hardware accelerated playback codec
- Name audio/video gstreamer elements better for easier debugging
- Update gstreamer pipeline and element properties to handle playback better
- Detect when valid timestamps are available for buffer from server and try to account for when they are not valid
- Start time is much more reliable then end time from server for various media formats, so use it when possible to make decisions instead of end time
- Do not rebuild gstreamer pipeline for a seek(very expensive), instead reset gstreamer time to 0 and maintain offset between real time and gstreamer time
- Change buffer filled function back to a buffer level function, so that we can use buffer level to make better choices above gstreamer decoder in tsmf
- Remove ack function from gstreamer, instead rely on ack thread to handle acks
- Rework X11 gstreamer code to handle various videosinks which implement the XOverlayInterface and to keep more detailed information on the sub-window that is used for display
- Add check to see if a decoder is available for telling the server the client various media types
- Add in support for M4S2 and WMA1 media types
- Fix flush message handling, they are for individual streams and not the entire presentation
- Delay eos response to try to allow more time for buffers to be loaded into decoder, as we anticipate acks to server and the server will issue stop as soon as we ack eos.
- Fix issue with geometry info being ignored when resent for new streams within existing presentation
- Fixed volume level initialization issue when a stream is stopped and restarted
- Attempt to sync video/audio streams...because we run two different gstreamer pipelines - they can enter pause/playing states at different times and are thus not synchronized. Attempt
to adjust video buffer timestamps based on difference between audio/video running time to account for this difference. This logic accounts for a huge improvement in audio/video sync(ie. lip sync to words)
2015-09-17 16:20:08 -05:00
Martin Fleisz
f8ceb3f606
Merge pull request #2895 from aballier/ffmpeg
...
channels/tsmf/client/ffmpeg: Fix build with ffmpeg git master.
2015-09-17 16:02:00 +02:00
Alexis Ballier
b7b66968f9
channels/tsmf/client/ffmpeg: Fix build with ffmpeg git master.
...
Replace old, deprecated and now removed, APIs with their new equivalent while retaining backward compatibility with old ffmpeg versions.
2015-09-17 10:36:44 +02:00
Martin Fleisz
affe82cae8
Merge pull request #2890 from realjiangms/shadow_fix_memory_leak
...
server: Fix several memory leak found while running valgrind on freerdp-shadow
2015-09-17 10:33:43 +02:00
zihao.jiang
f21749ac07
server: Fix several memory leak while running valgrind on freerdp-shadow
2015-09-17 01:02:22 +08:00
MartinHaimberger
d4d360f6a4
Merge pull request #2859 from akallabeth/resource_leak_fix
...
Fixes API misuse and logic errors
2015-09-15 14:45:42 +02:00
Bryan Everly
cb533b2a04
Fixes for OpenBSD port
2015-09-10 21:31:13 -04:00
Armin Novak
911750f0f6
Checking for allocation value > 0
2015-09-07 11:10:27 +02:00
Armin Novak
d07875b7ea
Fixed error checking and recording reset.
2015-09-07 09:25:48 +02:00
Armin Novak
e345feb5c1
Generalized rdpgfx_decode to work with all codecs.
2015-09-03 12:11:15 +02:00
Vic Lee
cc1bcb31b8
rdpsnd/winmm: fix SetVolume when device is not opened.
2015-09-02 15:31:40 +08:00
Armin Novak
61e7f993aa
Fixed possible memory leak.
2015-09-01 12:34:40 +02:00
Armin Novak
97f7aa8f42
Fixed uninitialized values.
2015-09-01 12:27:54 +02:00
Armin Novak
c7238fb9d9
Fixed uninitialized values.
2015-09-01 12:26:33 +02:00
Armin Novak
aa43f3b5df
Fixed zero lenght allocation.
2015-09-01 12:25:44 +02:00
Armin Novak
7cd3da9699
Fixed error handling of OSS audio plugin.
2015-09-01 12:25:38 +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
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
f8295a1517
Fixed resource cleanup double free.
2015-08-28 10:51:27 +02: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
Martin Haimberger
52405a3e79
Remove WIN32ERROR type
...
All return values are UINT now.
2015-08-27 05:38:20 -07: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
Martin Haimberger
414d4b8f8e
fixed wrong returntype under windows
2015-07-30 07:50:10 -07:00
Martin Haimberger
2862109337
Merge remote-tracking branch 'upstream/master' into mh-channel-fix
...
Conflicts:
channels/smartcard/client/smartcard_main.c
channels/smartcard/client/smartcard_operations.c
2015-07-30 07:29:12 -07:00
Martin Haimberger
65fd259610
misc fixes:
...
fixed all bugs from the review
checking all WaitFor*Object/s calls
2015-07-30 06:49:21 -07:00
Bernhard Miklautz
a22dc21c15
remdesk,encomps: misc fixes
...
* only free stream when an error occurs
* ignore unhanded messages instead of throwing an error
* fix memory leak in settings
2015-07-29 17:32:09 +02:00
Marc-André Moreau
5cb06ecc68
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-07-28 09:21:33 -04:00
Marc-André Moreau
dfa29804ad
Merge pull request #2799 from kaliway/scardlistreaders-fix
...
Smartcard Reader Connection Handling
2015-07-28 08:51:03 -04:00
Bernhard Miklautz
9fb6705380
rdpdr/printer: ignore unhanded packetID
...
Ignore packetIDs PRN_CACHE_DATA and PRN_USING_XPS instead of returning
an error.
2015-07-28 14:05:57 +02:00
Kirill Kotyagin
ef37487a44
channels/smartcard: fix possible mszReaders leak in smartcard_ListReaders(A/W)_Call
2015-07-22 17:25:17 +03:00
Kirill Kotyagin
76916d614b
channels/smartcard: make smartcard_ListReaders(A/W)_Call return PCSC error statuses to the server
2015-07-22 16:56:24 +03:00
Martin Haimberger
f65d15feeb
fixed audioserver
...
if no data could be read, the ERROR_NO_DATA is returend to
indicate a further read.
2015-07-22 03:16:46 -07:00
Martin Haimberger
58ada13dd9
fixed some remakes and compiler errors
2015-07-22 02:36:24 -07:00
Bernhard Miklautz
f992568432
rdpsnd: restore old behavior and fixes
...
* oss: fix function signature
* autodetection - if only /sound is given all enabled
plugins are tried in order and the first successful loaded is used.
- this restores the previous behavior
* alsa/pulse fix command line parsing - no parameters shouldn't be
treated as error
2015-07-20 12:28:49 +02:00
Rostislav Kondratenko
7248ea98d0
Fixing condition on SCardIsValidContext to be true when context is valid
2015-07-17 18:13:02 +03:00
Rostislav Kondratenko
f2863fabf5
Re-enabled PCSC-Lite transactions and fixed smartcard deinitialization so it will release all contexts to unblock calls waiting for transactions
2015-07-17 16:37:44 +03:00
Martin Haimberger
e682329eeb
fixed compiler errors
2015-07-15 03:17:38 -07:00
Martin Haimberger
6ab0187d84
Merge remote-tracking branch 'upstream/master' into mh-channel
...
Conflicts:
channels/audin/client/oss/audin_oss.c
channels/drive/client/drive_main.c
channels/printer/client/printer_cups.c
channels/printer/client/printer_main.c
channels/rail/client/rail_main.c
channels/rdpgfx/client/rdpgfx_main.c
channels/rdpsnd/client/oss/rdpsnd_oss.c
channels/remdesk/client/remdesk_main.c
channels/remdesk/server/remdesk_main.c
channels/tsmf/client/tsmf_media.c
2015-07-15 01:57:07 -07:00
Martin Haimberger
b8c110d19b
introduced channel error reporting system
...
The rdpContext gets an event which will
get set if an error occoured in a channel.
If a thread or a void callback has to report an
error it will get signaled by this system.
2015-07-15 00:50:35 -07:00
MartinHaimberger
b06d83ba80
Merge pull request #2766 from akallabeth/snprintf_to_sprintf_s
...
Replaced snprintf with sprintf_s
2015-07-15 09:47:43 +02:00
Bernhard Miklautz
68e8569110
winpr/synch: remove the dependency on winsock.h
...
winsock.h pulls in a lot of defines and dependencies that are not
required and partially unwanted in winpr's core (for parts that are not
related to network). In order to get rid of this dependency and have an
independent defines for extended winpr functions the WINPR_FD_* defines
are used internally (and for exposed functions). Where required, like in
WSAEventSelect, the FD_* is mapped to WINPR_FD_*.
2015-07-14 11:39:41 +02:00
Martin Haimberger
d9e2834a70
channel smartcard hardend
2015-07-09 03:00:19 -07:00
Marc-André Moreau
aae86d61ce
channels/rdpgfx: fix TotalDecodedFrames counter
2015-07-08 14:16:29 -04:00
Marc-André Moreau
23f9b3bbc0
channels/rdpgfx: reset state on channel close
2015-07-08 11:17:56 -04:00
Marc-André Moreau
11f785290f
channels/drdynvc: use same status code as mstsc for DVC opening failure
2015-07-07 13:36:36 -04:00
Marc-André Moreau
3781e803ed
channels/rdpgfx: improve frame ack handling
2015-07-06 16:28:52 -04:00
David FORT
b83ab92776
Hardened urbdrc channel
2015-07-06 16:46:21 +02:00
David FORT
1b7140d84e
Fixed some more checks in rdpsnd channel
2015-07-04 00:17:37 +02:00
Armin Novak
cf9f975341
Replaced snprintf with sprintf_s
2015-07-03 13:26:15 +02:00
Armin Novak
d18b0fbeb4
Handle API updated.
2015-07-03 09:52:52 +02:00
David FORT
ea679b2d8b
Hardened TSMF channel
...
This patch adds some checks for the TSMF channel:
* checks malloc / calloc / strdup / _strdup return value
* checks for available bytew before reading in a stream
2015-07-02 14:32:05 +02:00
Zavadovsky Yan
2c1aff1ab9
channels/rdpsnd: fix memory leak
...
Pointer to sound data chunk must be put into queue
otherwise bqPlayerCallback() will have nothing to free and
memory will leak.
2015-07-01 18:58:38 +03:00
Zavadovsky Yan
6ce87bd477
channels/rdpsnd: fix rdpsnd_opensles_set_format() logic
...
If server says "PCM format" treat sound data as PCM, not ADPCM.
This fixes noise from speakers when using Xrdp as server.
2015-07-01 18:58:10 +03:00
Norbert Federa
1c43a6e115
Merge pull request #2738 from bmiklautz/ffuncs
...
hardening: check fread and fwrite return values
2015-07-01 13:02:32 +02:00
Marc-André Moreau
ff5b876260
channels/drdynvc: silence harmless warnings with Windows 8 / Windows 2012 channel close
2015-06-29 14:47:46 -04:00
Bernhard Miklautz
1cee185e3c
hardening: check fread and fwrite return values
2015-06-26 20:38:30 +02:00
Marc-André Moreau
5ec19d2045
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-06-26 14:00:03 -04:00
Marc-André Moreau
24ed6b06cc
channels/rdpgfx: update debug output
2015-06-26 13:59:41 -04:00
Norbert Federa
ac95b7274e
Merge pull request #2727 from akallabeth/leak_fixes_reformat
...
Fixed leaks, NULL dereferences and broken init.
2015-06-26 15:01:08 +02:00
Marc-André Moreau
ddf2519f1e
Merge pull request #2719 from bmiklautz/pull/2481
...
OSS, tsmf, usb and BSD fixes and improvements
2015-06-26 08:27:22 -04:00
Armin Novak
015754633d
Fixed out of bound array access.
2015-06-26 09:50:21 +02:00
David FORT
a8fefae3a1
Harden the sound channel
...
This patch adds checks for the sound channel and plugins:
* checks for protocol bytes;
* checks for malloc/calloc;
* be more strict when interacting with sound plugin
2015-06-24 17:06:45 +02:00
Armin Novak
6698e24228
Fixed leaks, NULL dereferences and broken init.
2015-06-23 21:29:21 +02:00
Bernhard Miklautz
72fde88a8f
tsmf_oss: fix compiler warning
2015-06-23 11:40:04 +02:00
Bernhard Miklautz
7624519453
oss: fix formating
2015-06-22 19:45:56 +02:00
David FORT
7c3f8f33ab
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
2015-06-22 19:21:47 +02:00
Bernhard Miklautz
77927c213e
android: fix misc compiler warnings
...
with gcc version arm-linux-androideabi-gcc (GCC) 4.8
2015-06-22 19:09:59 +02:00
Marc-André Moreau
093aaa4dc0
Merge pull request #2636 from xhaakon/master
...
Fix crashes in shadow server
2015-06-22 09:15:37 -04:00
Martin Haimberger
0c3a62be7a
hardend remdesk channel
2015-06-22 00:12:25 -07:00
Martin Haimberger
6e4e1c2773
Merge remote-tracking branch 'upstream/master' into mh-stream-fix
...
Conflicts:
client/Windows/wf_cliprdr.c
2015-06-18 03:06:40 -07:00
Martin Haimberger
76305a716c
just satisfied compiler
2015-06-18 03:04:33 -07:00
Martin Haimberger
62d7b1e4df
hardend serial channel
2015-06-18 03:04:33 -07:00
Martin Haimberger
dc68bdfce5
channel rdpgfx hardend
2015-06-18 03:04:32 -07:00
Martin Haimberger
6348e41479
channel rdpei hardend
2015-06-18 03:04:32 -07:00
Martin Haimberger
d7636d0e28
channel rail hardend
2015-06-18 03:04:32 -07:00
Martin Haimberger
0965608e80
channel printer hardend
2015-06-18 03:04:32 -07:00
Martin Haimberger
3cc0148577
channel parallel hardend
2015-06-18 03:04:32 -07:00
Martin Haimberger
b9853f87eb
channel encomsp hardend
2015-06-18 03:04:32 -07:00
Martin Haimberger
0cfbc6648b
channel echo hardend
2015-06-18 03:04:32 -07:00
Martin Haimberger
2b3b999929
changed returnvalues of DeviceServiceEntry to WIN32ERROR
2015-06-18 03:04:32 -07:00
Martin Haimberger
d3d60520e5
hardend channel drive
2015-06-18 03:04:32 -07:00
Martin Haimberger
0bf222ec50
hardend rdpdr channel
2015-06-18 03:04:32 -07:00
Martin Haimberger
dca53c132c
hardend display channel
2015-06-18 03:04:32 -07:00
Martin Haimberger
e5d5cd3c94
hardend cliprdr
...
hardend cliprdr server and client
also updated all callbacks in the server and client
implementations
2015-06-18 03:04:31 -07:00
Martin Haimberger
d33e8a15b5
hardend client addin
2015-06-18 03:04:31 -07:00
Martin Haimberger
156f86e487
hardend channel audin
2015-06-18 03:04:31 -07:00
Martin Haimberger
d06da4f1bd
hardend drdynvc channel
2015-06-18 03:04:28 -07:00
ivan-83
e22a4461c7
rdpsnd oss remove unneded mem operations
2015-05-30 03:02:25 +03:00
ivan-83
d925f2f9fe
rdpsnd: latency process
2015-05-30 02:22:18 +03:00
David FORT
12f873f1f9
Fixed MessageQueue and callers
2015-05-29 14:24:14 +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
ivan-83
9313197023
Code style changed.
2015-05-28 00:00:25 +03:00
ivan-83
307d22ca11
* debug and error messages now print function name and line number
...
* add debug messages to trace fake network dissconects
2015-05-27 23:48:07 +03:00
ivan-83
20a1d2b097
* tsmf: OSS now work, but only with ffmpeg, and sound is bad (like with alsa), ffmpeg code possible have bug with wrong resample
2015-05-27 23:23:57 +03:00
ivan-83
3912172fc8
+ tsmf: OSS initial suppot (not work yet)
...
* tsmf: fix video playback on FreeBSD (proper shared object name)
* tsmf: renamed args: audio->sys, audio-dev->dev
* audin: OSS fix, now it work
* cmdline: add syntax help for /audin, /rdpsnd, /tsmf
* add debug messages
2015-05-27 23:22:36 +03:00
ivan-83
0fda0eb0de
Code style changed.
2015-05-27 22:59:57 +03:00
ivan-83
83a40a32a7
* tsmf: OSS code cleanup
...
+ urbdrc: add devd support (not tested)
* fix FindUUID detection ubder BSD
* wlog: fix prev commit: build error on Windows
* cmdline: add /usb syntax help
2015-05-27 22:58:41 +03:00
ivan-83
1009268158
* debug and error messages now print function name and line number
...
* add debug messages to trace fake network dissconects
2015-05-27 22:57:10 +03:00
ivan-83
4f15e59900
* tsmf: OSS now work, but only with ffmpeg, and sound is bad (like with alsa), ffmpeg code possible have bug with wrong resample
2015-05-27 22:54:13 +03:00
ivan-83
94a7abd2af
+ tsmf: OSS initial suppot (not work yet)
...
* tsmf: fix video playback on FreeBSD (proper shared object name)
* tsmf: renamed args: audio->sys, audio-dev->dev
* audin: OSS fix, now it work
* cmdline: add syntax help for /audin, /rdpsnd, /tsmf
* add debug messages
2015-05-27 22:54:13 +03:00
Marc-André Moreau
35e26020aa
freerdp: patch multiple leaks and OOM errors
2015-05-22 14:14:57 -04:00
Marc-André Moreau
89642923d1
channels/rdpdr: add more server-side error checking
2015-05-21 16:50:29 -04:00
Marc-André Moreau
d8460d14e0
channels/rdpdr: treat OOM and status failures in server-side code
2015-05-21 16:08:46 -04:00
Marc-André Moreau
aa34c8a7d5
channels/rdpdr: cleanup server-side rdpdr code
2015-05-21 14:33:38 -04:00
Marc-André Moreau
5526348079
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-05-21 13:29:59 -04:00
Marc-André Moreau
b9c1cddc2e
Merge pull request #2583 from bceverly/OpenBSD-cleanup
...
Two minor source code changes to remove warnings
2015-05-21 10:17:54 -04:00
David FORT
29d372480a
Take in account nfedera's review
2015-05-20 19:19:50 +02:00
Marc-André Moreau
7e1dbd505b
Merge branch 'awakecoding' of https://github.com/vworkspace/FreeRDP
...
Conflicts:
channels/rdpdr/server/rdpdr_main.c
2015-05-20 11:40:48 -04:00
Jakub Adam
2e4948c38c
Make remdesk_virtual_channel_write() static
...
The function with the same name is defined in multiple libraries
(libfreerdp-shadow.so, libfreerdp-server.so), which might confuse
the dynamic linker at runtime, binding a wrong version of the function
and thus causing segmentation faults.
Since remdesk_virtual_channel_write()s aren't used outside the files
they are defined in, we can declare them static to make them invisible
to the linker.
2015-05-20 08:10:41 +02:00
David FORT
f8d6eb226c
Fixed last VirtualChannelEntry
2015-05-19 13:56:48 +02:00
David FORT
6fb3f390a0
Fixed functions that return BOOLs
2015-05-19 13:48:57 +02:00
Bernhard Miklautz
d922afc24a
smartcard: fix compiler warnings
...
gcc 4.7.2:
warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from
pointer target type
2015-05-18 11:36:31 +02:00
Hardening
f8120919af
Add checks for some XXX_New and XXX_Add functions
...
Based on PR #2616
2015-05-18 11:28:00 +02:00
Maxim
c9d6611170
added start for suspended threads
...
was issue - if all threads start before tsmf_stream_set_format - unknown format of threads, not remember exactly gstreamer or ffmpeg problem was.
2015-05-14 17:06:34 +03:00
Maxim
ed89fc7861
coding style update
2015-05-14 16:57:37 +03:00
Norbert Federa
1eff1a345e
free can handle NULL perfectly fine
2015-05-11 09:07:39 +02:00
Bryan Everly
9865854f3c
Simplified random byte stream generation code to use SSL RAND_bytes() and also eliminated two more compiler warnings.
2015-05-05 12:33:44 -04:00
Norbert Federa
25fc866a58
Fix unchecked CreateThread calls and misc fixes
2015-05-05 13:55:48 +02:00
Mike McDonald
b6cb94b60e
Fixed protocol parsing issue in general capability set. The SpecialTypeDeviceCap field is only present when the Version field is set to GENERAL_CAPABILITY_VERSION_02.
2015-04-22 17:33:42 -04:00
Bryan Everly
a2a1d06d9b
Necessary changes to get latest branch working on OpenBSD 5.6
2015-04-21 14:44:02 -04:00
Bryan Everly
8c75127a67
Necessary changes to get latest branch working on OpenBSD 5.6
2015-04-21 14:42:06 -04:00
Maxim
be7ff45a52
fixed crash at mediaplayer closing, fixed tsmf event parameters-no video, fixed tsmf no audio.
2015-04-17 12:14:30 +03:00
Maxim
26c054d7a4
fixed - detect realloc failed and return if calloc failed
2015-04-15 17:42:54 +03:00
Maxim
f3a1fe544e
fixed-check for calloc return memory
2015-04-15 14:08:51 +03:00
Armin Novak
449929fc35
Fixed NULL dereference.
2015-04-15 10:37:28 +02:00
Maxim
87eae4a49b
fixed crash at mediaplayer closing, fixed tsmf event parameters-no video
...
freerdp crashed at media player closing windows 2008R2
no tsmf video output at test video sample about bunny.
all this fixed.
2015-04-15 11:29:27 +03:00
Maxim
9b8754ca72
Update urbdrc_main.c
2015-04-12 14:51:27 +03:00
Maxim
d4ad03bbf0
fixed buffer overflow at sprintf
2015-04-10 15:44:27 +03:00
Maxim
0b39a1f72a
fixed undefined behaviour of sprintf, buffer overflow
2015-04-08 18:21:52 +03:00
David FORT
cf8c7631bd
Kill more exit() occurences
...
In general we should not have any exit() call in libfreerdp.
2015-03-31 23:56:40 +02:00
Armin Novak
e68726400d
Fixed NULL pointer dereference.
2015-03-31 15:18:45 +02:00
Bernhard Miklautz
79de8168f9
Integrate feedback from pull request
...
* orders.c: remove ; at eol
* rdpdr_main.c: simplify error case
* rdpsnd_pulse.c: fix incorrect check
* rdpsnd_main.c: adapt return value according to documentation
* update.c: fix incorrect return values
2015-03-30 18:29:32 +02:00
Bernhard Miklautz
8615f74eac
drdynvc: ensure stream != NULL
2015-03-30 17:23:22 +02:00
Bernhard Miklautz
6a997fad53
cliprdr: ensure stream != NULL
2015-03-30 17:17:36 +02:00
Bernhard Miklautz
74c8400789
coding style fixes
...
Add missing space after if
2015-03-30 17:15:45 +02:00
Bernhard Miklautz
f469e069dc
stream: Stream_Ensure*Capacity: change return type
...
Change the return type of Stream_Ensure*Capacity from void to BOOL to be
able to detect realloc problems easily. Otherwise the only way to detect
this was to check if the capacity after the call was >= the required
size.
In case Stream_Ensure*Capacity fails the old memory is still available
and need to freed outside.
This commit also adds checks to most calls of Stream_Ensure*Capacity to
check if the call was successful.
2015-03-30 16:33:48 +02:00
Marc-André Moreau
851626f296
Merge pull request #2492 from bmiklautz/malloc_wrap
...
Fix compiler warnings and code hardening
2015-03-30 09:35:36 -04:00
tagunil
45ea141974
tsmf: free frame data after processing
2015-03-26 13:38:09 +03:00
Bernhard Miklautz
f2b4709cbd
opensl: remove unnecessary memset
2015-03-25 17:38:21 +01:00
Bernhard Miklautz
7f3326d41c
Fix compiler warnings
...
gcc 4.7.2
* warning: value computed is not used [-Wunused-value]
* warning: unused variable ‘oss’ [-Wunused-variable]
2015-03-25 17:38:21 +01:00
Bernhard Miklautz
3c7662517c
hardening
...
Start to add missing checks for:
* *alloc
* *_New
2015-03-25 17:38:21 +01:00
Marc-André Moreau
afdd55fa81
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-03-13 15:30:31 -04:00
Marc-André Moreau
cb27703d2e
Merge pull request #2461 from ivan-83/master
...
audin OSS support, dyn channels fix, dev arg broken fix, add debug verbosity, build warning fix
2015-03-13 15:19:35 -04:00
Marc-André Moreau
cb002d91cd
channels/smartcard: fix pioRecvPci with cbExtraBytes > 0
2015-03-13 14:20:57 -04:00
Zhang Zhaolong
c2ddb08437
urbdrc: fix undefined behavior of sprintf.
...
Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
2015-03-13 11:15:14 +08:00
ivan-83
3a8022e67c
* audin OSS files
2015-03-13 01:41:44 +03:00
ivan-83
9e7e4ce7ff
Merge branch 'master' of github.com:ivan-83/FreeRDP
2015-03-13 01:39:41 +03:00
ivan-83
7b3a552988
+ audin OSS support (un tested now)
...
+ add: COMMAND_LINE_IGN_UNKNOWN_KEYWORD flag for CommandLineParseArgumentsA to ignory unknown keys without fail
+ add: lot of WLog_DBG() in drdynvc, add function names in existing
* change: error text in rdpsnd OSS
* fix: dev in rdpsnd does not work
* fix/change: audio-dev renamed to dev and now work in audin
* fix dynamic channels now work again
2015-03-13 01:28:44 +03:00
Marc-André Moreau
dfc1238523
Merge pull request #2447 from ivan-83/master
...
Fix poor sound quality with ALSA, add OSS sound system support, FreeBSD patches
2015-03-12 10:09:02 -04:00
Zhang Zhaolong
e675a41705
rail: fix incorrect usage of realloc.
...
Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
2015-03-11 11:17:52 +08:00
Zhang Zhaolong
d329831ba1
audin: fix incorrect usage of realloc.
...
Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
2015-03-11 11:10:28 +08:00
Zhang Zhaolong
b8de622b90
tsmf: fix incorrect usage of realloc.
...
Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
2015-03-11 11:04:36 +08:00
ivan-83
0f3b639058
* OSS build fix on linux
2015-03-11 02:17:45 +03:00
ivan-83
e85dccc22a
* remove OSS debug messages
2015-03-10 01:34:15 +03:00
ivan-83
4f8f84f33b
+ some files for OSS, missed from prev commit
2015-03-09 09:31:27 +03:00
ivan-83
fe9fab920e
+ add OSS support for rdpsnd
2015-03-09 09:23:29 +03:00
ivan-83
8d5825ee00
Fix poor sound quality with ALSA
...
and decrease "ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred"
+ little code cleanup
2015-03-09 09:11:46 +03:00
Marc-André Moreau
bc50c81a0a
channels/smartcard: fix SCardTransmit return encoding with pioRecvPci
2015-02-20 15:39:51 -05:00
Armin Novak
69afce34c7
Debug messages now use WLog_DBG instead of WLog_ERR.
2015-02-19 08:45:45 +01:00
Marc-André Moreau
22ac46957a
xfreerdp: fix egfx multimonitor support
2015-02-10 16:32:07 -05:00
Marc-André Moreau
0054b6b134
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-02-06 18:02:10 -05:00
Marc-André Moreau
edb8b3055f
Merge pull request #2367 from eledoux/ports
...
fixed: serial redirect not work #2333
2015-02-06 18:02:16 -05:00
Marc-André Moreau
3258c887a4
libfreerdp-core: add channel reconnect
2015-02-06 17:35:14 -05:00
Marc-André Moreau
fa06c4d401
libfreerdp-core: improve reconnection
2015-02-06 14:21:26 -05:00
Emmanuel Ledoux
cf3d857b89
serial: changed the default underlying ServerSerialDriverId from SerialDriverSerCx2Sys to SerialDriverSerialSys
2015-02-06 19:56:36 +01:00
Marc-André Moreau
82d58086db
xfreerdp: partial reconnect fixes
2015-02-05 17:01:56 -05:00
Marc-André Moreau
a4979456e5
Merge branch 'master' of github.com:FreeRDP/FreeRDP into gateway
2015-02-04 11:36:05 -05:00
Petr Sumbera
17df42e4b5
Fixes some build issues on Solaris 11.
2015-02-02 08:48:54 -08:00
Marc-André Moreau
5e53063d55
channels/smartcard: fix SCardTransmit pioRecvPci parsing
2015-01-31 12:27:48 -05:00
Marc-André Moreau
bc857776fb
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-01-27 15:55:52 -05:00
Marc-André Moreau
c76847dafc
Merge branch 'master' of github.com:awakecoding/FreeRDP
2015-01-27 14:54:49 -05:00
Norbert Federa
70c8acdd67
drdynvc: fix segfaults and a compiler warning
...
If we send a negative creation status while processing the DVC create
response pdu in drdynvc_process_create_request() we must also close
the created channel. Otherwise we will get duplicated channel IDs
in the channel manager's array list because the server will
eventually reuse the channel ids which we have reported as failed in
previous creation responses.
In order to protect the client from duplicated IDs sent by buggy or
malicious servers I've added an appropriate check in
dvcman_channel_new() which will now return NULL in this case.
Also added a missing NULL check for the result of dvcman_channel_new()
in dvcman_create_channel().
2015-01-26 19:26:38 +01:00
Marc-André Moreau
bcc702346f
channels/smartcard: fix buffer read alignment in SCardTransmit parsing
2015-01-23 14:19:15 -05:00
Marc-André Moreau
0146927605
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-01-22 16:07:25 -05:00
Armin Novak
2f57cca71c
Moved arraylist remove to dvcman_close_channel
...
This ensures, that the resources are also cleaned up if no channel
listener was registered.
2015-01-21 14:16:23 +01:00
Armin Novak
256c64fbed
Fixes cleanup when closing a dynamic channel.
...
The resource cleanup was executed twice for each dynamic channel.
Now cleaning up the resources by array list free callback and only
when closing the channel.
2015-01-21 12:58:18 +01:00
Marc-André Moreau
f0fc27f7bd
libwinpr-winscard: add WINPR_WINSCARD_LOCK_TRANSACTIONS environment variable, fix winpr_HexDump line feeds
2015-01-20 15:29:05 -05:00
Marc-André Moreau
ee51da8500
channels/smartcard: cleanup debug output
2015-01-20 11:16:37 -05:00
Marc-André Moreau
b057d1eaf7
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-01-20 09:29:21 -05:00
Mike McDonald
b184a7531f
Merge branch 'master' of https://github.com/awakecoding/FreeRDP into awakecoding-staging
2015-01-20 08:09:00 -05:00
Armin Novak
b6d0ce797b
Fixed variable initialisation and cleanup.
2015-01-20 12:31:43 +01:00
Armin Novak
4d08528f89
Fixed variable initialisation and cleanup.
2015-01-20 12:31:39 +01:00
Armin Novak
97988b4868
Fixed variable initialisation and cleanup.
2015-01-20 12:31:37 +01:00
Armin Novak
cadd2675f6
Fixed variable initialisation and cleanup.
2015-01-20 12:31:30 +01:00
Armin Novak
ac81b9ddf5
Fixed variable initialisation and cleanup.
2015-01-20 12:31:26 +01:00
Armin Novak
557e8bb938
Fixed variable initialisation and cleanup.
2015-01-20 12:31:21 +01:00
Armin Novak
6170aba5fb
Fixed variable initialisation and cleanup.
2015-01-20 12:31:16 +01:00
Armin Novak
918ca132f6
Fixed resource cleanup locations.
...
Additional error checks and logging.
2015-01-20 11:59:13 +01:00
Armin Novak
865bcc5d63
Added CHANNEL_EVENT_DISCONNECTED handling.
...
Additional error checks and logging.
2015-01-20 11:58:09 +01:00
Armin Novak
9e5ed07556
Added CHANNEL_EVENT_DISCONNECTED handling.
...
Additional error checks and logging.
2015-01-20 11:58:04 +01:00
Armin Novak
bbacca6db2
Added CHANNEL_EVENT_DISCONNECTED handling.
...
Additional error checks and logging.
2015-01-20 11:55:50 +01:00
Armin Novak
4171589647
Added CHANNEL_EVENT_DISCONNECTED handling.
...
Additional error checks and logging.
2015-01-20 11:55:22 +01:00
Armin Novak
cbf8b1cf01
Fixed resource cleanup locations.
...
Additional error checks and logging.
2015-01-20 11:53:12 +01:00
Armin Novak
56cdb57452
Added CHANNEL_EVENT_DISCONNECTED handling.
...
Additional error checks and logging.
2015-01-20 11:47:47 +01:00
Armin Novak
de01d7a445
Prettiefied WLog messages.
2015-01-20 11:46:25 +01:00
Armin Novak
3dc1f07847
Added CHANNEL_EVENT_DISCONNECTED handling.
...
Additional error checks and logging.
2015-01-20 11:45:36 +01:00
Armin Novak
5ce9c71a40
Prettiefied WLog messages.
2015-01-20 11:39:33 +01:00
Armin Novak
54ec26c758
Removed duplicated close call
2015-01-20 11:39:13 +01:00
Armin Novak
ddd8a1da80
Prettiefied WLog messages.
2015-01-20 11:23:12 +01:00
Armin Novak
54fa77a06a
Prettiefied WLog messages.
2015-01-20 11:20:38 +01:00
Armin Novak
90b46bf987
Prettiefied WLog messages.
2015-01-20 11:20:09 +01:00
Marc-André Moreau
e47f1c8b80
channels/smartcard: minor robustness fixes
2015-01-19 12:04:23 -05:00
Marc-André Moreau
d5b3f9cbd4
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-01-08 14:22:05 -05:00
Mike McDonald
7febeb2dec
Added rename file and fixed some minor bugs.
2014-12-30 18:41:21 -05:00
Bernhard Miklautz
b485bb2067
rdpdr: use host name for redirected drives if set
...
When a client set the host name, redirected drives would still be shown
as coming from the computer name. For example if the computer the client
run on is called "foo" and the client set the /host-name to "bar" any
redirected drive is shown as "driveX on foo".
Now the host name is used for drives when set.
2014-12-30 13:34:11 +01:00
Marc-André Moreau
51554ff16c
channels: patch rdpdr/smartcard valgrind leaks, fix hang on disconnect
2014-12-28 14:56:13 -05:00
Marc-André Moreau
5024c42b76
channels/drdynvc: properly handle DYNVC_OPEN/DYNVC_CLOSE requests
2014-12-28 11:13:51 -05:00
Mike McDonald
b21331cf1a
First cut at server side implementation of RDPDR drive redirection.
2014-12-27 21:17:34 -05:00
Marc-André Moreau
b552aa9363
libfreerdp-core: add support for multiple redirection target addresses
2014-12-27 18:53:27 -05:00
Marc-André Moreau
27a8e50e60
channels: fix drdynvc, patch memory leaks
2014-12-27 15:20:29 -05:00
Marc-André Moreau
6c2ebb2b58
channels: redirection valgrind fixes
2014-12-27 13:50:50 -05:00
Marc-André Moreau
9ebc67ba02
channels/smartcard: cleanup SCardControl
2014-12-22 16:25:59 -05:00
Marc-André Moreau
0625be2720
channels/smartcard: fix SCardGetAttrib SCARD_AUTOALLOCATE support
2014-12-22 13:28:16 -05:00
Marc-André Moreau
08c8c6f285
channels/cliprdr: fix empty clipboard format lists, server-side locking
2014-12-20 13:07:30 -05:00
Marc-André Moreau
265e8b9e9d
cliprdr/server: make channel thread optional
2014-12-18 11:11:36 -05:00
Marc-André Moreau
afce8061b3
cliprdr/server: split add Open/Close callbacks
2014-12-18 10:46:23 -05:00
Marc-André Moreau
724d9f95a1
channels/cliprdr: move server cliprdr read code to separate function
2014-12-18 09:50:02 -05:00
Marc-André Moreau
c3b172352d
cliprdr/cliprdr: add missing server-side cliprdr sending functions
2014-12-15 17:27:20 -05:00
Marc-André Moreau
a69eaddecd
channels/cliprdr: add missing messages in cliprdr server
2014-12-15 17:05:32 -05:00
Marc-André Moreau
f1bd547580
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
client/X11/xf_client.c
2014-12-15 15:55:51 -05:00
Marc-André Moreau
0d56e26438
channels/cliprdr: fix server-side cliprdr receive
2014-12-15 15:39:56 -05:00
erobertor
d647fd2f36
Update drdynvc_main.c
...
fixed memory leak
2014-12-15 18:36:56 +01:00
Bernhard Miklautz
1b663ceffe
build: cmake 3.1 compatibility
...
* fix problem with REMOVE_DUPLICATES on undefined lists
* since 3.1 file(GLOB FILEPATHS RELATIVE .. returns single / instead of // as
previously - necessary adoptions for regex and matches done. Should
work with all cmake versions.
Tested with 3.1.0-rc3
2014-12-12 19:26:22 +01:00
Marc-André Moreau
b579ad3cec
Merge pull request #2261 from akallabeth/more_memleak_fixes
...
More warning and memleak fixes
2014-12-11 08:28:48 -05:00
Marc-André Moreau
da5a9d2579
Merge pull request #2265 from TaGUNil/master
...
Fix segmentation fault in URBDRC
2014-12-11 08:26:44 -05:00
Hardening
7b6c14bdcf
Fix cleanup of RDPEI server-side channel
2014-12-10 16:47:15 +01:00
TaGUNil
da39686a31
channels/urbdrc: fix segfault
...
Fix segmentation fault in urbdrc_main.c caused by missing memset.
2014-12-09 19:28:13 +03:00
Armin Novak
6b2790774e
Fixed missing NULL pointer check.
2014-12-07 00:33:37 +01:00
Armin Novak
b23b0c656e
Fixed uninitialized values in case of error return.
2014-12-07 00:27:06 +01:00
Marc-André Moreau
182dd76037
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-12-04 10:49:01 -05:00
Norbert Federa
12fe822315
cliprdr: fix segfault caused by invalid seek value
2014-12-04 16:07:01 +01:00
Marc-André Moreau
fdd2dc7601
freerdp: patch valgrind leaks, cleanup
2014-12-03 14:17:27 -05:00
Marc-André Moreau
ba5389d9d0
Merge branch 'master' of github.com:awakecoding/FreeRDP
2014-11-21 15:10:48 -05:00
Marc-André Moreau
7881ec762e
server/shadow: avoid sending pointer updates when not active, fix remdesk leak
2014-11-21 15:10:39 -05:00
Marc-André Moreau
3992e5e650
Merge pull request #2224 from hardening/rdpei_server
...
Add server-side RDPEI
2014-11-20 16:37:12 -05:00
Hardening
ed6f380434
Add server-side RDPEI
...
This patch mutualize code between client and server for RDPEI. And add support for
the server-side.
2014-11-20 22:19:29 +01:00
Marc-André Moreau
b8f694d8df
mfreerdp: fix cliprdr copy with Windows XP
2014-11-20 16:05:13 -05:00
Marc-André Moreau
c4ab4ad128
channels/cliprdr: partially fix short format names
2014-11-20 14:28:05 -05:00
Armin Novak
1873cc037d
Fixed null pointer dereference.
2014-11-17 01:23:54 +01:00
Armin Novak
e390dd0eeb
Fixed null pointer dereference.
2014-11-17 01:19:40 +01:00
Armin Novak
915a08d592
Fixed memory leak.
2014-11-17 00:56:05 +01:00
Armin Novak
d2952d1776
Fixed memory leak.
2014-11-17 00:06:14 +01:00
Armin Novak
abd0abf01b
Fixed allocation size warning.
2014-11-16 23:44:10 +01:00
Armin Novak
24f3f0c4a6
Fixed memory leaks.
2014-11-16 23:30:31 +01:00
Armin Novak
99a26263c7
Fixed memory leaks.
2014-11-16 23:26:56 +01:00
Armin Novak
5c71a64910
Fixed uninitialized data.
2014-11-16 22:26:38 +01:00
Armin Novak
d653e6382e
Fixed uninitialized variable.
2014-11-16 16:58:43 +01:00
Armin Novak
b9908af64a
Fixed memory leaks.
2014-11-16 16:02:28 +01:00
Armin Novak
6196eb81b2
Fixed free of uninitialized value.
2014-11-16 16:01:08 +01:00
Marc-André Moreau
496ce10637
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-11-15 12:37:29 -05:00
Emmanuel Ledoux
096159054b
winpr-comm: ignore errors on TIOCGICOUNT during the port initialization but the permissive mode must be on afterwards.
2014-11-13 19:54:32 +01:00
Marc-André Moreau
986dae429b
freerdp: remove deprecated svc_plugin.c utils
2014-11-12 13:34:07 -05:00
Marc-André Moreau
0e7c95c421
freerdp: remove deprecated eventing system
2014-11-12 13:18:18 -05:00
Marc-André Moreau
24a752a708
channels/cliprdr: remove dependency on deprecated eventing system, svc_plugin.c
2014-11-12 12:56:03 -05:00
Bernhard Miklautz
3e0e0c868e
Revert a bug introduced in PR #2134
...
FREERDP_CHANNELS_SERVER_SRCS need to be added to server/common that the
symbols get added and exported with libfreerdp-server.
Also remove duplicated version information.
2014-11-12 17:15:13 +01:00
Marc-André Moreau
f7e52c5e09
channels/rail: remove dependency on svc_plugin.c
2014-11-12 10:43:02 -05:00
Marc-André Moreau
589c21d819
libfreerdp-utils: remove rail utils
2014-11-12 10:18:53 -05:00
Marc-André Moreau
68c9e68400
channels/rail: remove dependency on deprecated eventing system
2014-11-12 09:46:04 -05:00
Marc-André Moreau
1225c6b5ce
xfreerdp: separate app windows from desktop windows
2014-11-11 22:27:33 -05:00
Marc-André Moreau
b2f7c488ab
xfreerdp: cleanup and fix RemoteApp
2014-11-11 16:35:30 -05:00
Marc-André Moreau
a48ed7239d
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
libfreerdp/core/update.c
2014-11-11 09:55:48 -05:00
Vinche
d7fe4d2803
Implementation for IOCTL_SCARD_LOCATECARDSBYATRA
2014-11-11 00:35:46 +01:00
Vinche
d427faf5c6
Cleaning Code
2014-11-10 23:51:34 +01:00
Vinche
53707c97c8
Comments
2014-11-10 23:48:55 +01:00
Vinche
fdb95c712b
Implementation for Smartcard Reader with Pin Pad
2014-11-10 23:40:22 +01:00
Marc-André Moreau
ee7299ec3f
channels/tsmf: remove dependency on deprecated eventing system
2014-11-10 16:33:34 -05:00
Marc-André Moreau
edd4aa797c
xfreerdp/tsmf: migrate to callback interface
2014-11-10 16:23:04 -05:00
Marc-André Moreau
a8ceed9dda
channels/tsmf: integrate pull request #2012
2014-11-10 14:18:23 -05:00
Marc-André Moreau
129582e67f
channels/tsmf: cleanup
2014-11-10 14:02:54 -05:00
Vinche
2708a8de5c
first commit
2014-11-09 22:42:35 +01:00
Marc-André Moreau
a6bb185760
channels/tsmf: add new callback interface
2014-11-07 18:33:45 -05:00
Martin Fleisz
0be28ba0f6
Merge pull request #1965 from akallabeth/dynamic-addin-naming
...
Dynamic channel library naming
2014-10-31 13:42:16 +01:00
Martin Fleisz
d58c6de93c
Merge pull request #2134 from akallabeth/windows_version_information
...
Windows version information
2014-10-31 12:23:11 +01:00
Armin Novak
12e5c3a838
Fixed static / dynamic plugin entry point.
2014-10-27 16:33:51 +01:00
Marc-André Moreau
986f773ef7
channels/audin: fix version message
2014-10-23 20:40:45 -04:00
Marc-André Moreau
f76f8e3599
channels/cliprdr: add missing callbacks and message definitions
2014-10-23 18:17:53 -04:00
Marc-André Moreau
a1e660d92e
freerdp: unify clipboard standard format id definitions
2014-10-16 22:20:12 -04:00
Marc-André Moreau
334dec3c1f
winpr: add pragma pack, bitmap + clipboard definitions
2014-10-16 21:45:47 -04:00
Marc-André Moreau
2e82e6d22d
xfreerdp: fix clipboard sync
2014-10-15 22:48:18 -04:00
Marc-André Moreau
38bac22204
xfreerdp: migrate to cliprdr callback interface
2014-10-15 21:30:11 -04:00
Armin Novak
22c775988b
Using global RC_VERSION_PATCH now.
2014-10-09 16:20:32 +02:00
Armin Novak
5364a834c4
Added windows version information to build.
2014-10-03 15:17:40 +02:00
Marc-André Moreau
ca1cec64d8
libfreerdp-core: update RDP8 virtual channels
2014-09-25 17:31:05 -04:00
Marc-André Moreau
86b4123cf0
Merge pull request #2101 from eledoux/ports
...
Ports
2014-09-25 10:38:07 -04:00
Marc-André Moreau
25f1073aa5
freerdp: fix build problems
2014-09-17 19:19:37 -04:00
Armin Novak
2bf2406325
Addind platform specific library prefix when trying to load channel libraries.
2014-09-17 11:27:11 +02:00
Armin Novak
059374457d
Removed library prefix override.
2014-09-17 11:27:11 +02:00
Armin Novak
0bb8056494
Fixed entry function for ffmpeg and non static channel builds.
2014-09-17 09:18:21 +02:00
Armin Novak
5c6d72ebba
Fixed naming of entry function, now working with non static channel builds.
2014-09-17 09:12:01 +02:00
Armin Novak
7f5ed696c7
Fixed WVC capabilities.
2014-09-17 09:06:17 +02:00
Emmanuel Ledoux
e9749c6b3f
serial: ability to turn on the permissive mode from the command line
2014-09-16 12:08:33 +02:00