Armin Novak
dc3d536398
Changed length arguments and return to size_t
2018-01-17 08:14:06 +01:00
David Fort
41823080f9
Fix users of Stream_GetPosition() that returns size_t
2017-12-11 22:38:58 +01:00
Armin Novak
8292b4558f
Fix TALOS issues
...
Fix the following issues identified by the CISCO TALOS project:
* TALOS-2017-0336 CVE-2017-2834
* TALOS-2017-0337 CVE-2017-2834
* TALOS-2017-0338 CVE-2017-2836
* TALOS-2017-0339 CVE-2017-2837
* TALOS-2017-0340 CVE-2017-2838
* TALOS-2017-0341 CVE-2017-2839
2017-07-20 09:28:47 +02:00
David Fort
17a4e95a5b
Drop some annoying warning
...
Probably that some unused functions should be removed, but at least it makes
it compile with no warnings.
2017-05-12 13:54:16 +02:00
Armin Novak
b2c29158be
Scanbuild warning, argument checks and leak fixes.
...
* Added Stream_GetRemainingCapacity to check remaining stream size
before writes.
* Fixed shadow server memory leak.
* Fixed lots of scanbuild warnings
* Added missing argument checks in many functions
* Added missing static function declarations
2017-03-02 18:13:43 +01:00
Norbert Federa
f71b6b46e8
fix string format specifiers
...
- fixed invalid, missing or additional arguments
- removed all type casts from arguments
- added missing (void*) typecasts for %p arguments
- use inttypes defines where appropriate
2016-12-16 13:48:43 +01:00
Armin Novak
e79eee2bb1
Fixed Stream API misuse.
2016-02-25 20:01:12 +01: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
David FORT
a4a58aa373
Fix the error case in mcs_send_connect_response()
2015-04-01 17:55:01 +02:00
David FORT
5302bad2b7
Drop the limit on key size
2015-04-01 15:11:57 +02:00
Marc-André Moreau
0e57706de5
libfreerdp-core: cleanup connect error codes, fix Win32 NLA
2015-02-17 21:01:27 -05:00
Marc-André Moreau
9c7b7ab561
libfreerdp-core: make NLA event-driven
2015-02-15 16:04:59 -05:00
Vic Lee
0e7797ffca
libfreerdp-core: server-side mcs message channel.
2014-10-29 00:49:27 +08:00
Marc-André Moreau
11ae267518
libfreerdp-core: expose new API to allow FreeRDS virtual channel hooking
2014-10-10 16:11:42 -04:00
Armin Novak
2f519d7f16
Replaced logging in libfreerdp with wlog defines.
2014-09-15 08:48:46 +02:00
Armin Novak
f4c133eaf8
Replaced custom logging mechanism with WLog wrapper.
2014-08-07 16:51:24 +02:00
Marc-André Moreau
af4a413287
Merge branch 'non_blocking_writes' of github.com:hardening/FreeRDP into non_blocking_writes
2014-05-22 14:01:44 -04:00
Hardening
0376dcd065
Fix OOM situation
2014-05-21 17:27:36 +02:00
Marc-André Moreau
ee282a931b
freerdp: fix build warnings on Windows
2014-05-10 09:50:36 -04:00
Marc-André Moreau
39f04c870e
channels/smartcard: fix some valgrind warnings
2014-04-09 12:28:03 -04:00
Norbert Federa
68db82f7d1
libfreerdp-core: fix disconnect reason
2014-04-02 14:43:47 +02:00
Norbert Federa
e74e9887eb
libfreerdp-core/mcs: fixed protocol error+segfault
...
wrong channelcount pointer was referenced in the server
mcs attach user confirm pdu
2014-03-05 15:47:23 +01:00
Marc-André Moreau
8510ad3171
freerdp: remove rdpChannel definition in favor of CHANNEL_DEF
2014-02-28 12:07:22 -05:00
Marc-André Moreau
db7a9d2e77
libfreerdp-core: start moving internal MCS variables out of rdpSettings*
2014-02-15 16:32:38 -05:00
Marc-André Moreau
c5b14a5e0a
libfreerdp-core: make use of rdpMcs* instead of rdpSettings* in most GCC functions
2014-02-13 17:50:38 -05:00
Marc-André Moreau
e5990fa60c
libfreerdp-core: MCS cleanup, better handling of domain parameters
2014-02-13 17:06:33 -05:00
Marc-André Moreau
cdcd290c44
wfreerdp: fix most build warnings
2014-02-10 22:12:13 -05:00
vworkspace
aca384992f
Increased size of stream on GCC conference create request from 512 to 1024. For large numbers of static virtual channels, the stream was being overflowed and was causing crashes.
2014-01-31 13:52:37 -05:00
Marc-André Moreau
1c0e874b5b
libfreerdp-core: more GCC and MCS fixes
2014-01-23 17:41:05 -05:00
Marc-André Moreau
fa12414a4b
libfreerdp-core: fix parsing of MCS Disconnect Provider Ultimatum, workaround for 2008 R2 lack of error info pdu on user logoff
2013-11-14 23:05:29 -05:00
Marc-André Moreau
91103b76b3
libfreerdp-core: modify server-side confirm active pdu receiving logic
2013-07-19 18:24:56 -04:00
Marc-André Moreau
fc592a1750
libfreerdp-core: replace usage of Stream_GetPointer() by Stream_GetPosition() in potentially unsafe places
2013-05-15 14:42:37 -04:00
Marc-André Moreau
5c37356506
libfreerdp-core: reduce reuse of the same send buffer
2013-05-15 13:17:29 -04:00
Marc-André Moreau
367ebf32a3
freerdp: make use of stream macros to access members
2013-05-15 12:14:26 -04:00
Marc-André Moreau
fdf3ddcf9e
freerdp: purge deprecated stream utils
2013-05-08 17:48:30 -04:00
Marc-André Moreau
fd230443c5
freerdp: purge old stream utils
2013-05-08 16:27:21 -04:00
Marc-André Moreau
5b92413843
freerdp: purge deprecated stream utils
2013-05-08 16:09:16 -04:00
Marc-André Moreau
51715636a5
freerdp: remove some deprecated stream utils
2013-04-29 22:35:15 -04:00
Hardening
7701c9d934
Replace printf(...) by fprintf(stderr, ...)
2013-03-28 23:06:34 +01:00
Marc-André Moreau
a8201b0d1b
libwinpr-utils: combine old and new stream utils
2013-03-21 15:19:33 -04:00
Marc-André Moreau
62eec0c2b5
libfreerdp-utils: rename internal members of STREAM to match new wStream
2013-03-21 15:01:46 -04:00
Marc-André Moreau
e42b1272ef
libfreerdp-core: added ObjectPool
2013-02-14 20:39:56 -05:00
rdp.effort
0abf945a18
check or propagate return values when writing
2013-01-14 23:40:34 +01:00
rdp.effort
4d90284657
Renamed CODEC_ID_NONE to RDP_CODEC_ID_NONE as it is already defined in
...
avcodecs.h
Fixed a warning in schannel_openssl.c
Added checks for: input, mcs, tpdu, certificate, license
2013-01-12 14:49:01 +01:00
Marc-André Moreau
b2c3ca8cc4
libfreerdp-utils: replace all calls to deprecated function xzalloc
2012-11-21 19:22:41 -05:00
Marc-André Moreau
410b7ab867
libfreerdp-core: rdpSettings refactoring (part 4)
2012-11-07 23:29:24 -05:00
Marc-André Moreau
9d064171a7
freerdp: get rid of old types
2012-10-09 03:26:39 -04:00
Marc-André Moreau
1bf8a45519
freerdp: change uint8, sint8, uint16, sint16 to BYTE, INT8, UINT16, INT16
2012-10-09 03:01:37 -04:00
Marc-André Moreau
1ed644786c
freerdp: change boolean type to BOOL type
2012-10-09 02:38:39 -04:00
Marc-André Moreau
5612bc43f8
freerdp: change true/false to TRUE/FALSE
2012-10-09 02:31:28 -04:00