Commit Graph

42 Commits

Author SHA1 Message Date
Armin Novak
26b83ea74e Reenabled and fixed windows server compile. 2018-11-15 09:01:53 +01:00
Ilya Shipitsin
251727586d resolve a typo found by cppcheck
[server/Windows/wf_mirage.c:319]: (error) Invalid number of character '(' when these macros are defined: ''.
[server/Windows/wf_mirage.c:319]: (error) Invalid number of character '(' when these macros are defined: 'DFMIRAGE_LEAN'.
[server/Windows/wf_mirage.c:319]: (error) Invalid number of character '(' when these macros are defined: '_WIN64'.
2017-02-17 14:54:31 +05: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
David FORT
7c3f8f33ab Fixes for malloc / calloc + other fixes
This patch contains:

* checks for malloc return value + treat callers;
* modified malloc() + ZeroMemory() to calloc();
* misc fixes of micro errors seen during the code audit:
** some invalid checks in gcc.c, also there were some possible
integer overflow. This is interesting because at the end the data are parsed
and freed directly, so it's a vulnerability in some kind of dead code (at least
useless);
** fixed usage of GetComputerNameExA with just one call, when 2 were used
in misc places. According to MSDN GetComputerNameA() is supposed to return
an error when called with NULL;
** there were a bug in the command line parsing of shadow;
** in freerdp_dynamic_channel_collection_add() the size of array was multiplied
by 4 instead of 2 on resize
2015-06-22 19:21:47 +02:00
Armin Novak
5b5791c8d7 Using wlog for server now. 2014-09-15 08:55:00 +02:00
Marc-André Moreau
90d202ab87 server: fix build on Windows 2014-08-11 19:31:38 -04:00
Armin Novak
8d8719e101 Replaced fprintf with DEBUG_WARN 2014-08-11 09:19:47 +02:00
Corey C
492930a398 wfreerdp-server: a little more debug info 2013-03-22 16:59:35 -04:00
Corey C
701711600e wfreerdp-server: more debug info 2013-03-22 13:12:01 -04:00
Corey C
0c98c5ea99 wfreerdp-server: added more error verbosity 2013-03-21 18:34:53 -04:00
Corey C
bf7a370760 wfreerdp-server: Fixed screen detection issue and home directory issue 2013-03-21 16:31:55 -04:00
Corey C
0812a8e9fc wfreerdp-server: fixed mirror driver unloading issue 2013-03-19 15:19:26 -04:00
Corey C
882c2f79e7 wfreerdp-server: fix mirror driver loading and unloading 2013-03-14 20:18:51 -04:00
Corey C
6692b8faf9 wfreerdp-server: string comparison fix 2013-03-12 18:53:27 -04:00
Corey C
f83aa371aa wfreerdp-server: more error handling improvements 2013-03-12 17:56:45 -04:00
Corey C
034000b0f1 wfreerdp-server: error handling improvements for mirror driver 2013-03-12 17:25:15 -04:00
Corey C
f990fbe303 wfreerdp-server: cleanup output 2013-03-12 17:03:13 -04:00
C-o-r-E
dd477a6a18 wfreerdp-server: multimon working on win7 2012-11-01 17:12:05 -04:00
C-o-r-E
4841b05008 wfreerdp-server: refactored monitor related data structures 2012-10-31 17:24:14 -04:00
Marc-André Moreau
5612bc43f8 freerdp: change true/false to TRUE/FALSE 2012-10-09 02:31:28 -04:00
Marc-André Moreau
e60a092d81 freerdp: fix headers 2012-10-08 23:02:04 -04:00
Corey C
052896eb3d wfreerdp-server: refactoring and stabilizing windows 8 parts 2012-09-18 14:07:38 -04:00
Corey C
909e617ce0 wfreerdp-server: partially merged from cleanup 2012-09-17 17:57:21 -04:00
Marc-André Moreau
2026d3079e libfreerdp-core: code restructuration 2012-09-16 21:05:51 -04:00
Corey C
2a07ebec23 wfreerdp-server: win8 dxgi initial support 2012-09-16 17:38:33 -04:00
Marc-André Moreau
947e9bead7 wfreerdp-server: refactoring and delaying of initialization of encoder 2012-09-07 06:01:16 +02:00
Marc-André Moreau
7a0a8c3eb2 wfreerdp-server: start cleaning up mutex access 2012-09-02 18:04:41 -04:00
Marc-André Moreau
3a33d63902 wfreerdp-server: get rid of wfInfoSingleton 2012-09-02 17:09:36 -04:00
Marc-André Moreau
12859c7eac wfreerdp-server: merge with latest updates 2012-09-02 14:39:27 -04:00
Marc-André Moreau
a9bbc3d8c1 wfreerdp: fix build on Windows XP 2012-08-30 19:57:21 -04:00
Marc-André Moreau
c60c013d5e wfreerdp-server: fix crash with out of bound coordinates 2012-08-23 17:10:22 -04:00
Marc-André Moreau
9c507b179a wfreerdp-server: cleanup code style 2012-08-23 16:35:54 -04:00
C-o-r-E
0b87c927ea wfreerdp-server: added experimental rfx encoding 2012-08-15 18:01:06 -04:00
C-o-r-E
7ed19d7997 wfreerdp-server: more progress on the back end 2012-08-14 20:30:36 -04:00
C-o-r-E
67b1d4e607 wfreerdp-server: added experimental monitor proc 2012-08-14 16:49:24 -04:00
C-o-r-E
343825221c wfreerdp-server: fixed the build and some stupidity on my part 2012-08-14 15:12:44 -04:00
C-o-r-E
bc07443f22 wfreerdp-server: modified and documented the driver settings update function
It should programatically detect and use the screen resolution now.
2012-08-14 14:49:53 -04:00
C-o-r-E
ceb218a3cf wfreerdp-server: modified and documented the attatchtodesktop function 2012-08-14 12:31:52 -04:00
C-o-r-E
664596f5a5 wfreerdp-server: modified and documented the display device check 2012-08-14 11:57:25 -04:00
Marc-André Moreau
07dccad079 wfreerdp-server: add proper detection of device registry key for DFMirage driver 2012-08-13 19:05:47 -04:00
Marc-André Moreau
46ccb75d75 wfreerdp-server: start integration of DFMirage driving code 2012-08-13 18:25:05 -04:00
Marc-André Moreau
ff581a2e7b wfreerdp-server: add DFMirage header definitions 2012-08-13 17:27:44 -04:00