Commit Graph

6120 Commits

Author SHA1 Message Date
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
Marc-André Moreau
2c752f20fa Merge pull request #1778 from awakecoding/smartcard
Smart Card Complete Overhaul
2014-04-14 14:13:11 -04:00
Marc-André Moreau
62481e83ee channels/smartcard: add more debug output 2014-04-13 16:48:32 -04:00
Marc-André Moreau
d699128a57 channels/smartcard: add more debug output 2014-04-13 15:50:51 -04:00
Marc-André Moreau
9afe63aa76 libwinpr-smartcard: improve GetStatusChange 2014-04-13 00:43:12 -04:00
Marc-André Moreau
a352044c7a libwinpr-smartcard: implement PCSC/WinSCard reader name aliasing 2014-04-12 23:38:15 -04:00
Marc-André Moreau
2f3c3c4bb1 channels/smartcard: add pcsc-lite protocol value mapping 2014-04-12 18:13:18 -04:00
Marc-André Moreau
1d864fe9af channels/smartcard: make PCSC implementation even closer to WinSCard 2014-04-12 16:45:06 -04:00
Marc-André Moreau
5920dbc074 channels/smartcard: cleanup of sanitization 2014-04-12 15:09:23 -04:00
Marc-André Moreau
7ff1c984c2 channels/smartcard: add more debug output, make distinction between reader and card state 2014-04-12 14:31:54 -04:00
Marc-André Moreau
fd6052f348 channels/smartcard: add more debug output 2014-04-12 12:42:09 -04:00
Marc-André Moreau
ee9f44ce5a libwinpr-smartcard: fix SCardConnectW deadlock 2014-04-12 12:15:04 -04:00
Marc-André Moreau
c106b62920 libwinpr-smartcard: fix deadlock in PCSC_SCardFreeMemory 2014-04-12 11:24:47 -04:00
Marc-André Moreau
727a4914f2 channels/smartcard: add more debug output 2014-04-11 18:57:04 -04:00
Marc-André Moreau
32b65c3000 channels/smartcard: fix broken context/handle encoding/decoding 2014-04-11 17:44:27 -04:00
Marc-André Moreau
79453d1bb4 channels/smartcard: make handles completely opaque 2014-04-11 16:27:01 -04:00
Marc-André Moreau
f49582614c channels/smartcard: fix on Windows 2014-04-11 14:13:06 -04:00
Marc-André Moreau
f99c8ed8d0 channels/smartcard: cleanup context/handle management 2014-04-11 14:01:42 -04:00
Martin Haimberger
dd62e88098 fixed Wlog_Uninit to also free child logger 2014-04-11 02:23:16 -07:00
Martin Haimberger
a6c34c114e using setenv instead of putenv to prevent memleaks 2014-04-11 02:17:43 -07:00
Marc-André Moreau
8cac6519e1 channels/smartcard: added detailed debug tracing 2014-04-11 02:17:36 -04:00
Marc-André Moreau
dd5fab82b5 channels/smartcard: cleanup and simplify ListReaders call 2014-04-10 23:55:11 -04:00
Marc-André Moreau
2b52c294a2 channels/smartcard: minor fixes 2014-04-10 17:36:42 -04:00
Benoît LeBlanc
3581d27f08 tcp: (Mac OS X) added setsockopt(SOL_SOCKET, SO_NOSIGPIPE) to prevent the application crashing on a broken socket. 2014-04-10 16:26:44 -04:00
Hardening
2edd8bee12 Misc fixes to check OOM 2014-04-10 21:10:19 +02:00
Marc-André Moreau
7932bf4490 Merge pull request #1786 from nfedera/fix-2014-04-10-02
core/server: only enable activated bitmap codecs
2014-04-10 13:26:47 -04:00
Norbert Federa
5db9d630de core/server: only enable activated bitmap codecs 2014-04-10 19:13:47 +02:00
Marc-André Moreau
afa4bde06c Merge pull request #1785 from nfedera/fix-2014-04-10-01
core: fix multifragment update capability exchange
2014-04-10 11:47:22 -04:00
Norbert Federa
210985f99e core: fix multifragment update capability exchange 2014-04-10 17:22:06 +02:00
Marc-André Moreau
ccea0b1e62 libwinpr-smartcard: more pcsc-lite fixes 2014-04-09 17:44:39 -04:00