Commit Graph

6151 Commits

Author SHA1 Message Date
Zhang Zhaolong
8ce32773f3 core: fix memory leak in case of error out. 2014-04-26 12:00:07 +08:00
Zhang Zhaolong
dcbf5bd0ed libwinpr: fix memory leak in case of error. 2014-04-26 11:53:08 +08:00
Zhang Zhaolong
88760cbd83 libwinpr: fix memory leak in case TimerQueue is NULL. 2014-04-26 11:36:35 +08:00
Zhang Zhaolong
196f5315ae libwinpr: fix memory leak in case realloc() failed. 2014-04-26 11:32:51 +08:00
Zhang Zhaolong
66dfc4fd5b winpr: fix error malloc size. 2014-04-25 21:14:10 +08:00
Marc-André Moreau
59df3ca733 Merge pull request #1806 from bmiklautz/feat/export_modules
Improve pkg-config file generation
2014-04-23 19:37:53 -04:00
Marc-André Moreau
8f24648c59 Merge pull request #1807 from hardening/pool_leak
Fix Thread handle leak
2014-04-23 19:22:15 -04:00
Hardening
9d2ea1fcd8 Fix Thread handle leak
When a thread pool is release the Thread handle is leaked.
2014-04-23 16:59:14 +02:00
Bernhard Miklautz
dee9188191 update and improve pkg-config files
* generate pkg-config files top level to make sure all
  exports are available (eg. client/server)
* .pc libs section is now generated from export libraries
* update .pc file to use .private fields (prevent overlinking)
2014-04-23 13:12:23 +02:00
Bernhard Miklautz
b817e92e5e cmake: mark required libraries for export 2014-04-23 10:16:02 +02:00
Bernhard Miklautz
d23afa499e export_complex_library add support for long names
If no MODULE is given the first part of LIBNAME is used as module.
The expected format is still MODULE-LIBNAME but now LIBNAME can also
contain -.
2014-04-23 10:14:48 +02:00
Bernhard Miklautz
1ba793b126 audin/client/alsa: fix installation path
The module was installed into the libdir instead of addin path.
2014-04-22 18:30:09 +02:00
Bernhard Miklautz
87294221e7 cmake: remove debug message 2014-04-22 17:22:43 +02:00
Bernhard Miklautz
67cf5bdf39 cmake: add_complex_library add EXPORT parameter
EXPORT is an optional parameter. If set the module is also
marked for export.
2014-04-22 17:05:42 +02:00
Bernhard Miklautz
5ec5ef078c cmake: add export_complex_library function
parameters LIBNAME and MODULE (module)

* adds LIBNAME to a global property ${${MODULE}_EXPORTS}
* if MODULE isn't given LIBNAME is expected to be in the format
  "module-libname"
2014-04-22 16:55:09 +02:00
Vic Lee
5391275f66 audin/server: fix server audio input channel. 2014-04-22 19:02:23 +08:00
Vic Lee
b097171b4e channels: fix link errors. 2014-04-22 15:06:49 +08:00
Vic Lee
08b4976f72 Revert "channels: fix link errors."
This reverts commit 2fc7f9c485.
2014-04-22 15:05:53 +08:00
Martin Fleisz
43e08997f1 Merge pull request #1633 from MicahChase/master
Bluetooth Keyboard Fix
2014-04-22 08:36:25 +02:00
Marc-André Moreau
a21aed8896 Merge pull request #1803 from hardening/www_authenticate_fix
Www authenticate fix
2014-04-21 12:15:35 -04:00
Vic Lee
8317fb9107 audin/server: fix a crash. 2014-04-21 18:13:12 +08:00
Vic Lee
2fc7f9c485 channels: fix link errors. 2014-04-21 17:47:12 +08:00
Marc-André Moreau
f5c64ff3d0 Merge pull request #1804 from hardening/bypassLocalFix
Honor bypass local gateway setting
2014-04-20 23:25:18 -04:00
Marc-André Moreau
86975b5605 Merge pull request #1801 from hardening/queue_stack_fixes
Fixes for queue and stack
2014-04-20 23:24:19 -04:00
Hardening
4366a2219a Honor bypass local gateway setting
This patch make the bypass local gateway setting works
2014-04-19 23:31:12 +02:00
Hardening
ef38a5e55d Fix multiple WWW-Authenticate headers
This patch fixes the case with the server trying to negociate the authentication
method and returning multiple WWW-Authenticate headers.
2014-04-19 09:14:14 +02:00
Hardening
bb2852df06 Add an helper function for the Key object 2014-04-18 23:07:43 +02:00
Hardening
ef11358668 Enhance ListDictonnary
This patch enhances ListDictionnary so that you can set callbacks for
keys and for values.
2014-04-18 18:26:04 +02:00
Hardening
6febe88026 Fixes for queue and stack
This patch does misc fixes in queue and stack:
* the *_new() were not handling OOM correctly ;
* the *_Contains() methods were not using the equals cb;
* the lock were not always taken when accessing internal members;
2014-04-18 16:27:51 +02:00
Marc-André Moreau
4da5cc9f9a Merge pull request #1798 from bmiklautz/fix/misc
Cleanup and fix compiler warnings
2014-04-17 16:29:45 -04:00
Bernhard Miklautz
76b7ecd1b7 core/fastpath: fix compiler warning 2014-04-17 12:16:10 +02:00
Bernhard Miklautz
630cb35aa5 transport: fix variable initialization
Fixes possible problem when NLA is enabled and header verification fails.
2014-04-17 12:08:09 +02:00
Bernhard Miklautz
02c4e261d1 winpr-env: update Get/SetEnvironmentVariableA
* set last error to ERROR_ENVVAR_NOT_FOUND in GetEnvironmentVariableA
  if not found
* remove unused variables in SetEnvironmentVariableA
* add more test cases
2014-04-17 11:48:50 +02:00
Bernhard Miklautz
291569d1e5 winpr: change GetKnownSubPath to use a const path 2014-04-17 10:04:34 +02:00
Bernhard Miklautz
8168477886 sample server: fix printf format compiler warning 2014-04-17 10:04:17 +02:00
Bernhard Miklautz
117112d20f sample client: fix ReceiveChannelData prototype 2014-04-17 10:04:12 +02:00
Bernhard Miklautz
b8cf4a2304 remove re-declaration of extended pipe functions
remove them from winpr/pipe.h since they are defined and declared
in winpr/file.h
2014-04-17 10:04:06 +02:00
Bernhard Miklautz
adff58f48d winpr/pipe: fix variable type - unsigned to signed
fcntl returns int. Comparison to 0 < always returned false.
2014-04-17 10:02:41 +02:00
Marc-André Moreau
fae0c4a6e5 Merge pull request #1796 from hardening/nego_fix
Fix connection when no cookie is given
2014-04-16 11:25:16 -04:00
Hardening
2089eaf0d2 Fix connection when no cookie is given
This patch corrects a regression introduced in 2edd8bee12
2014-04-16 17:04:49 +02:00
Marc-André Moreau
fa5713d724 Merge pull request #1793 from bmiklautz/fix/config_h
Remove config.h inclusion in debug.h
2014-04-16 10:13:27 -04:00
Bernhard Miklautz
7d764dc5ae Merge pull request #1794 from eurogiciel/sandbox/pcoval/for-upstream
fix: build error while running client/X11/generate_argument_docbook
2014-04-16 11:20:18 +02:00
Philippe Coval
677ea5971d fix: build error while running client/X11/generate_argument_docbook
Author: Viacheslav Dubrovsk <dubrsl@altlinux.org>
Bug: https://github.com/FreeRDP/FreeRDP/issues/1481
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
2014-04-16 11:11:24 +02:00
Bernhard Miklautz
0cb7874749 Remove config.h inclusion in debug.h
* update msusb to use DEBUG_MSUSB
* remove unused DEBUG_MSG
2014-04-15 18:36:22 +02:00
Marc-André Moreau
5202e6384f Merge pull request #1792 from awakecoding/master
Remove Unused Extension Framework
2014-04-15 11:56:29 -04:00
Marc-André Moreau
09a540b40b libfreerdp-core: remove old, unused extension framework 2014-04-14 14:49:03 -04:00
Marc-André Moreau
95b4c5619e Merge pull request #1787 from hardening/oom_checks2
Misc fixes to check OOM
2014-04-14 14:19:58 -04:00
Marc-André Moreau
94f2a52196 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2014-04-14 14:17:37 -04:00
Marc-André Moreau
0059772efa Merge pull request #1789 from MartinHaimberger/mh-memfixes
Fixed misc leaks
2014-04-14 14:17:30 -04:00
Marc-André Moreau
edb3ad383e Merge pull request #1784 from hardening/collections_reallocs
Don't leak memory when realloc fails
2014-04-14 14:17:05 -04:00