Martin Fleisz
1a6aba0130
winpr/tools: Fixed x509_get_default_name failing with long computer names
2015-07-15 11:47:01 +02:00
Norbert Federa
1c43a6e115
Merge pull request #2738 from bmiklautz/ffuncs
...
hardening: check fread and fwrite return values
2015-07-01 13:02:32 +02:00
Martin Fleisz
d64195d46a
makecert: Fix incorrect return value check
2015-06-30 08:14:28 +02:00
Martin Fleisz
15473557da
makecert: Formatting
2015-06-29 18:10:59 +02:00
Martin Fleisz
bdf02d631e
makecert: Add strdup checks
2015-06-29 18:07:26 +02:00
Martin Fleisz
5632773808
makecert: Fix double free crashes
2015-06-29 17:49:13 +02:00
Bernhard Miklautz
1cee185e3c
hardening: check fread and fwrite return values
2015-06-26 20:38:30 +02:00
Bernhard Miklautz
af81a91ea7
windows: fix compilation and warnings
2015-06-22 19:31:25 +02:00
Bernhard Miklautz
06502e6a91
misc: integrate pull request feedback
2015-06-22 19:24:30 +02: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
Bernhard Miklautz
bf73f4e4f1
Fix unchecked strdups
...
* add missing checks
* adapt function return values where necessary
* add initial test for settings
2015-06-22 19:09:59 +02:00
Norbert Federa
1eff1a345e
free can handle NULL perfectly fine
2015-05-11 09:07:39 +02:00
Bernhard Miklautz
12e1d94567
winpr: fixes and cleanup
...
Integrated notes and issues for the pending pull request
* wf_info:
* cleanup: remove unnecessary breaks
* fix typo
* change usage of calloc
* print.c: fix incorrect check
* makecert.c: cleanup includes
2015-04-08 11:34:37 +02:00
Bernhard Miklautz
850de59b55
winpr: add checks for *alloc
...
Add missing checks if memory allocation was successful. Also adapt
caller(s) when possible.
2015-04-08 11:34:37 +02:00
Zhang Zhaolong
21d5ed6512
tool: fix incorrect usage of realloc.
...
Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
2015-03-11 15:00:05 +08:00
Armin Novak
ee8563504d
Fixed memory leak.
2014-11-17 00:47:54 +01:00
Armin Novak
8302b169d0
Fixed memory leak
2014-11-17 00:13:50 +01:00
Armin Novak
3d108f0bca
Fixed memory leaks.
2014-11-17 00:09:50 +01:00
Armin Novak
89bb28adb2
Fixed setting of RV_VERSION_PATCH, now BUILD_NUMBER is used for every library.
...
Executable names are now correctly set, using CMAKE_EXECUTABLE_SUFFIX now.
Fixed version defines for winpr executables.
2014-10-09 16:18:35 +02:00
Armin Novak
5364a834c4
Added windows version information to build.
2014-10-03 15:17:40 +02:00
Marc-André Moreau
7da4621334
librdtk: improve text positioning
2014-10-01 12:18:17 -04:00
Marc-André Moreau
a00ef5d044
winpr-makecert: remove dependency on OPENSSL_Applink on Windows
2014-09-19 16:23:19 -04:00
Marc-André Moreau
a23d5ea527
winpr/makecert: improve command line options
2014-07-17 16:47:29 -04:00
Marc-André Moreau
0fb3bf1dfd
winpr/tools/makecert: add pfx support
2014-07-16 17:13:02 -04:00
Bernhard Miklautz
6a49bcfe40
winpr: always build "monolitic"
...
winpr is now always build as single library.
The build option MONOLITHIC_BUILD doesn't influence this behavior anymore.
The only exception is winpr-makecert-tool which is still build as extra
library.
This obsoletes complex_libraries for winpr.
2014-07-10 11:10:58 +02:00
Bernhard Miklautz
139630be94
makecert: install header file
...
install the makecert header file for the exported static libary to
winpr/tools/makecert.h
2014-05-07 21:09:34 +02:00
Bernhard Miklautz
b817e92e5e
cmake: mark required libraries for export
2014-04-23 10:16:02 +02:00
Marc-André Moreau
839bcb42ae
wfreerdp: fix build against static openssl library
2014-01-29 15:27:43 -05:00
Marc-André Moreau
37450da55d
cmake: fix exporting of targets on pre-2.8.11
2013-10-29 14:47:40 -04:00
Marc-André Moreau
7dd95b9587
libwinpr-crypto: improve Schannel unit test
2013-10-11 04:01:07 -04:00
Marc-André Moreau
929d292f35
wfreerdp: fix compilation
2013-09-19 12:08:20 -04:00
Marc-André Moreau
518995a05e
freerdp: merge with master
2013-09-16 17:10:27 -04:00
Marc-André Moreau
4a4a36d5c4
cmake: remove vendor-specific options
2013-09-10 14:03:15 -04:00
Armin Novak
2a7ab454ba
Fixed static library compilation, using -fPIC now to allow linking
...
to dynamic lib.
2013-09-05 12:14:34 +02:00
Benoît LeBlanc
03a401b8e6
CMakelists:
...
disabled installation of headers and libraries for the wayk client.
2013-07-25 21:59:21 -04:00
Marc-André Moreau
fae24b1ef9
xfreerdp-server: auto-generate self-signed certificate
2013-04-23 18:17:01 -04:00
Marc-André Moreau
890c418536
winpr-makecert: added file output functions
2013-03-22 17:34:57 -04:00
Marc-André Moreau
c715ff69bc
winpr-makecert: improve library/executable separation
2013-03-22 16:59:54 -04:00
Marc-André Moreau
48419c0a0a
libwinpr-tools: start splitting makecert tool into library and executable
2013-03-22 16:36:44 -04:00
Marc-André Moreau
79638db42c
winpr-makecert: only include OpenSSL's applink.c on Windows
2013-03-13 17:57:13 -04:00
Marc-André Moreau
f0de7c88a8
winpr-makecert: fix OpenSSL applink error
2013-03-13 17:55:42 -04:00
Marc-André Moreau
140b44006b
winpr-makecert: fix linking against OpenSSL
2013-03-13 17:43:33 -04:00
Marc-André Moreau
10e09ed846
winpr-makecert: fix CMakeLists.txt
2013-03-13 14:04:18 -04:00
Marc-André Moreau
9eaa530d49
makecert: generate self-signed RDP certificate
2013-03-13 00:26:10 -04:00
Marc-André Moreau
91c12fa312
makecert: accept more parameters
2013-03-12 21:53:41 -04:00
Marc-André Moreau
00cbfdb2af
winpr-makecert: start implementing
2013-03-12 17:57:16 -04:00
Marc-André Moreau
fbacea6bad
winpr/tools/makecert: stubbed basic makecert wrapper
2012-11-26 22:42:40 -05:00