Hardening
07e0eba7db
Check that bpp has reasonable value
...
As bpp is often used for malloc computations, let's check that it has
a reasonable value.
2014-05-29 10:12:02 +02:00
Hardening
61a58532db
Check for bpp > 0
...
Bpp == 0 just makes no sense
2014-05-29 09:24:59 +02:00
Hardening
640b901396
Set checks to be strict and also check xorBpp field
...
This patch:
* renames bpp to xorBpp ;
* changes checks to strict ;
* adds checks on the xorBpp field
2014-05-29 00:12:48 +02:00
Hardening
532c42052a
Fixes for CVE-2014-0250
...
This patch introduce misc checks when receiving pointer updates. We check
that the cursor are in the bounds defined by the spec. We also check that
the announced mask sizes are what they should be.
2014-05-28 23:07:00 +02:00
Marc-André Moreau
ea0a2a32ad
Merge pull request #1866 from nfedera/fix-2014-05-26-01
...
winpr: fixed incorrect pipe reference count usage
2014-05-26 16:20:28 -04:00
Norbert Federa
538cc2d4a8
winpr: fixed incorrect pipe reference count usage
...
- refcount is only relevant for servermode
- refcount was used uninitialized in clientmode
- credit for fix goes to @bmiklautz
Bug was introduced by 5e09e37d42
2014-05-26 21:24:34 +02:00
Marc-André Moreau
2cca4c52fd
Merge pull request #1865 from awakecoding/master
...
Compression Cleanup
2014-05-26 13:01:40 -04:00
Marc-André Moreau
a75a38c884
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-05-26 12:43:43 -04:00
Marc-André Moreau
18cac3d4dd
libfreerdp-codec: cleanup context state flushing
2014-05-26 12:43:30 -04:00
Marc-André Moreau
830659fc5c
libfreerdp-core: add new protocol metrics module
2014-05-26 12:30:58 -04:00
Marc-André Moreau
ad8f031a88
Merge pull request #1864 from MartinHaimberger/namedpipefix
...
fixed introduced winpr bug in namedpipes
2014-05-26 08:10:28 -04:00
Martin Haimberger
c958f81016
fixed introduced winpr bug in namedpipes
...
Bug was introduced by 5e09e37d42
2014-05-26 03:04:22 -07:00
Marc-André Moreau
f0317d6b22
Merge pull request #1863 from awakecoding/master
...
RDP6.1 XCrush Bulk Compression
2014-05-25 21:59:36 -04:00
Marc-André Moreau
8c7fbe3394
libfreerdp-codec: fix xcrush level-1 compressor
2014-05-25 21:39:25 -04:00
Marc-André Moreau
d2d8c482fc
libfreerdp-codec: cleanup and fix XCrush context flush synchronization
2014-05-25 21:21:51 -04:00
Marc-André Moreau
5930b22263
libfreerdp-codec: fix xcrush packet flushing
2014-05-25 20:35:54 -04:00
Marc-André Moreau
d1b5ba0f28
libfreerdp-codec: start compressing some XCrush frames
2014-05-25 20:01:12 -04:00
Marc-André Moreau
8d8e0c24fe
libfreerdp-codec: improve xcrush compressor error checking
2014-05-23 17:38:10 -04:00
Marc-André Moreau
67743b6832
libfreerdp-core: enable RDP6.1 XCrush compression/decompression by default
2014-05-23 14:11:53 -04:00
Marc-André Moreau
c866d19bd4
winpr-crt: fix bit rotation macros
2014-05-23 14:00:46 -04:00
Marc-André Moreau
e97b53b96d
Merge branch 'xcrush' of github.com:awakecoding/FreeRDP into xcrush
2014-05-23 13:56:23 -04:00
Marc-André Moreau
55e096a82f
libfreerdp-codec: add xcrush match optimization and output generation
2014-05-23 13:59:34 -04:00
Marc-André Moreau
c959443267
Merge branch 'master' of github.com:awakecoding/FreeRDP into xcrush
2014-05-23 13:56:14 -04:00
Marc-André Moreau
ee935a3760
libfreerdp-codec: add match info functions
2014-05-22 17:38:01 -04:00
Marc-André Moreau
19b25a792e
winpr-crt: add bit rotation functions
2014-05-22 16:31:14 -04:00
Marc-André Moreau
e69dc9b823
Merge pull request #1859 from awakecoding/master
...
Smart Card Improvements, TS Gateway non-blocking Writes Integration
2014-05-22 16:16:21 -04:00
Marc-André Moreau
4ce8c09c1b
Merge branch 'master' of github.com:awakecoding/FreeRDP into xcrush
2014-05-22 16:09:52 -04:00
Marc-André Moreau
e8d3164f99
libfreerdp-core: fix windows build warning
2014-05-22 16:08:10 -04:00
Marc-André Moreau
c0ec800bfd
freerdp: fix incorrect copyright headers
2014-05-22 15:56:47 -04:00
Marc-André Moreau
cd35b2772f
libwinpr-thread: fix compilation on Android
2014-05-22 15:32:49 -04:00
Marc-André Moreau
6cd6d63e42
Merge branch 'master' of github.com:awakecoding/FreeRDP into xcrush
2014-05-22 15:22:42 -04:00
Marc-André Moreau
b24c95ce59
libfreerdp-core: fix tcp_new on Windows
2014-05-22 15:13:00 -04:00
Marc-André Moreau
ae368549ad
freerdp: fix compilation on Windows
2014-05-22 14:42:05 -04: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
Marc-André Moreau
146305f9b2
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-05-22 13:59:25 -04:00
Marc-André Moreau
ad4d8d2c59
Merge pull request #1857 from FreeRDP/mh-makecertfix
...
fixed missing extern C for cpp in makecert.h
2014-05-22 13:58:59 -04:00
Marc-André Moreau
247beff1b3
winpr: fix test compilation on Windows
2014-05-22 13:50:01 -04:00
Martin Haimberger
535d7668a7
fixed missing extern C for cpp in makecert.h
2014-05-22 01:28:01 -07:00
Marc-André Moreau
0363196923
libfreerdp-core: add xcrush signature db
2014-05-22 00:18:56 -04:00
Marc-André Moreau
fd23b2f041
libfreerdp-codec: add xcrush rolling hash chunker
2014-05-21 22:55:45 -04:00
Hardening
3200baca4b
Correctly export ringbuffer function and fix a warning
2014-05-21 22:20:38 +02:00
Hardening
2b1a27b9b6
Add .gitignore files for test generated files
2014-05-21 22:18:38 +02:00
Hardening
5c9a6408cf
Fixed invalid declaration and missing argument
2014-05-21 19:13:40 +02:00
Hardening
de1c08736f
Fix ringbuffer_write() to use const BYTE * instead of const void *
2014-05-21 19:12:51 +02:00
Hardening
d8eb1f284f
Updated license headers
2014-05-21 18:44:49 +02:00
Hardening
a04843bc9e
Fix some corner cases in ringbuffer and make unitary test have no leak
2014-05-21 18:32:59 +02:00
Hardening
5234e05843
Make ringbuffer C89 aware for VC
2014-05-21 18:17:39 +02:00
Hardening
dd6d829550
Allow transport_write calls to be non-blocking
...
This big patch allows to have non-blocking writes. To achieve
this, it slightly changes the way transport is handled. The misc transport
layers are handled with OpenSSL BIOs. In the chain we insert a
bufferedBIO that will bufferize write calls that couldn't be honored.
For an access with Tls security the BIO chain would look like this:
FreeRdp Code ===> SSL bio ===> buffered BIO ===> socket BIO
The buffered BIO will store bytes that couldn't be send because of
blocking write calls.
This patch also rework TSG so that it would look like this in the
case of SSL security with TSG:
(TSG in)
> SSL BIO => buffered BIO ==> socket BIO
/
FreeRdp => SSL BIO => TSG BIO
\
> SSL BIO => buffered BIO ==> socket BIO
(TSG out)
So from the FreeRDP point of view sending something is only BIO_writing
on the frontBio (last BIO on the left).
2014-05-21 17:42:31 +02:00
Hardening
0376dcd065
Fix OOM situation
2014-05-21 17:27:36 +02:00
Hardening
9c18ae5bee
Print function name when emiting an error
2014-05-21 17:27:36 +02:00