Commit Graph

8574 Commits

Author SHA1 Message Date
Bernhard Miklautz 3c7662517c hardening
Start to add missing checks for:
* *alloc
* *_New
2015-03-25 17:38:21 +01:00
Bernhard Miklautz 90579ae16f gdi/gfx: remove unused variables 2015-03-25 17:38:21 +01:00
Bernhard Miklautz f75ced240d gdi: remove unnecessary includes 2015-03-25 17:38:20 +01:00
Bernhard Miklautz b9cc206a78 gdi: remove dead code 2015-03-25 17:38:20 +01:00
Bernhard Miklautz f717075321 asn1: use enum instead of returning a fixed value 2015-03-25 17:38:20 +01:00
Bernhard Miklautz 91ba10e168 rdtk: remove redundant casts 2015-03-25 17:38:20 +01:00
Armin Novak de4d571208 Added openh264_dll to library name hints. 2015-03-25 10:41:40 +01:00
Vic Lee 5f375d0a6f tls: revert checking SSL_ERROR_SYSCALL which may cause deadlock. 2015-03-25 16:07:39 +08:00
Martin Fleisz 5fa777b11c Merge pull request #2482 from llyzs/llyzs
tls: fix error handling of no error code.
2015-03-23 16:06:12 +01:00
Bernhard Miklautz ea648c5580 Merge pull request #2489 from akallabeth/security_fixes
Security fixes
2015-03-23 14:24:48 +01:00
Armin Novak 47f38b3059 Fixed uninitialized test argument buffer. 2015-03-23 14:14:38 +01:00
Armin Novak 54cb89f303 Fixed pipe cleanup. 2015-03-23 14:10:49 +01:00
Martin Fleisz 8d783bd2f0 Fix server side NLA 2015-03-23 08:33:14 +01:00
Hardening 20433e6f29 Merge pull request #2443 from realjiangms/fix_region
Incorrect extents calculation in region16_intersect_rect (libfreerdp/codec/region.c)
2015-03-20 22:12:48 +01:00
zihao.jiang a6311d29e7 Add ascii art for norbert_test_case 2015-03-21 01:07:54 +08:00
zihao.jiang 2a91988975 resolve comments from hardening 2015-03-21 00:04:30 +08:00
zihao.jiang ce06229499 fix tab/space style 2015-03-20 23:40:48 +08:00
zihao.jiang f94935224c Fixes extents of region16_intersect_rect.
See Issue #2443.
When there's more than 2 rectangles in the region structure, region16_intersect_rect would calculate extents by all 'intersected' sub rectangles.
But it always extend the extents to (0,0) because it initialize the new extents as (0,0,0,0) and union later rectangles with this empty point by simple MIN/MAX calculation.

Also fixed rectangle_is_empty although it has not been used yet. The function does not work as its name.
Reuse norbert case. That case is enough for the intersect fix, but the expected result is not correct. The test case is also fixed.
Added test case to check empty rectangle.
2015-03-20 20:55:06 +08:00
Vic Lee 2137ccc3db tls: retry for all SSL_ERROR_SYSCALL errors. 2015-03-20 10:03:30 +08:00
Marc-André Moreau 3a2a915221 Merge pull request #2484 from dvincent-devolutions/gateway
RDP8 Gateway support
2015-03-19 12:21:56 -04:00
Marc-André Moreau cb8e61cf99 libfreerdp-core: fix rdg.c header include 2015-03-19 12:13:37 -04:00
Marc-André Moreau 69f4d78785 libfreerdp-core: fix rdg.h header include 2015-03-19 12:08:30 -04:00
Marc-André Moreau 6202f48c12 libfreerdp-core: add configurable TSG/RGB fallback, fix edge cases 2015-03-19 11:44:47 -04:00
Marc-André Moreau a2ff1e8348 Merge branch 'gateway' of https://github.com/dvincent-devolutions/FreeRDP into gateway 2015-03-19 09:41:50 -04:00
Marc-André Moreau ca95ec1079 Merge branch 'master' of github.com:FreeRDP/FreeRDP into gateway 2015-03-19 09:38:16 -04:00
Marc-André Moreau 9d77c92a21 Merge pull request #2475 from hardening/winpr_moreops
Implement ReadFile() and WriteFile() as handle operation
2015-03-19 09:35:57 -04:00
Marc-André Moreau 4faf8010b7 Merge pull request #2478 from akallabeth/win_sw_gdi_fix
Fixed resize for software GDI.
2015-03-19 09:35:31 -04:00
Denis Vincent 08a3d40ef8 libfreerdp-core: minor code corrections 2015-03-19 09:17:56 -04:00
Armin Novak 3a429e5add Removed unused define. 2015-03-19 14:17:48 +01:00
Armin Novak 48d8058f9b fixed log message arguments. 2015-03-19 11:11:43 +01:00
Armin Novak 56dc61cc06 Added error name and string functions.
Added new functions allowing to get a string representation of an error code
and a description of the error for connect and base error classes.
2015-03-19 11:05:16 +01:00
Denis Vincent 205ccb70c8 libfreerdp-core: added fallback to RPC. 2015-03-18 16:13:32 -04:00
Marc-André Moreau 1380895a2a libfreerdp-core: fix RDG http receive 2015-03-18 09:48:21 -04:00
Marc-André Moreau 3c4bee3d95 libfreerdp-core: fix RDG valgrind issues 2015-03-17 16:54:45 -04:00
Marc-André Moreau dc913d9f2c libfreerdp-core: fix some RDG valgrind issues 2015-03-17 16:09:17 -04:00
Marc-André Moreau 360e2c5e4e libfreerdp-core: fix rdg event handles 2015-03-17 15:13:11 -04:00
Marc-André Moreau bdf17450e5 Merge branch 'gateway' of https://github.com/dvincent-devolutions/FreeRDP into gateway 2015-03-17 14:54:04 -04:00
Denis Vincent 144d0d9b23 libfreerdp-core: Initial RDG support. 2015-03-17 14:54:16 -04:00
Armin Novak f3d6a791e7 Fixed resize for software GDI. 2015-03-17 13:03:16 +01:00
David FORT 552df08926 Implement ReadFile() and WriteFile() as handle operation 2015-03-16 21:29:19 +01:00
Marc-André Moreau 0e94ac663d libfreerdp-codec: add support for 16 color palette image copy 2015-03-16 14:01:43 -04:00
Marc-André Moreau 9562439bd8 libfreerdp-codec: add support for 1bpp image copy 2015-03-16 13:27:27 -04:00
Marc-André Moreau 1f0c1da619 Merge pull request #2474 from awakecoding/master
Test Fixes, BipBuffer, TSG Cleanup, SCardTransmit Fix
2015-03-16 09:37:00 -04:00
Marc-André Moreau 2094501d8b freerdp: fix failing tests 2015-03-16 09:26:38 -04:00
Marc-André Moreau ad02c75af8 libfreerdp-gdi: disable broken BitBlt tests 2015-03-16 08:55:06 -04:00
Marc-André Moreau d7bdb509c8 Merge pull request #2473 from akallabeth/force_cmdline_flags
Force cmdline to ignore unknown keywords
2015-03-16 08:02:23 -04:00
Marc-André Moreau c21bff5415 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2015-03-16 08:01:54 -04:00
Marc-André Moreau 78d955dc29 Merge pull request #2469 from dupondje/master
libfreerdp-core: Initialize values correctly
2015-03-16 07:51:46 -04:00
Marc-André Moreau 6e4898901e Merge pull request #2472 from hardening/winpr_ops_rebased
Winpr ops rebased
2015-03-16 07:48:06 -04:00
David FORT bfb8593590 Fixed the test for named pipe creation
All credits goes to @akallabeth.
2015-03-16 11:19:45 +01:00