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
Bernhard Miklautz
b8e41b843d
aligned memory: fixes in _aligned_offset_recalloc
...
* _aligned_offset_recalloc did ignore the nmemb element
therefore only *one* element was allocated
* in case memblock was NULL the allocated memory
wasn't zeroed
* restructure realloc and recalloc to check if the memory was initially
created aligned before allocating a new segment
2015-04-08 11:34:37 +02:00
Petr Sumbera
17df42e4b5
Fixes some build issues on Solaris 11.
2015-02-02 08:48:54 -08:00
Armin Novak
feeb4e4713
Prettiefied WLog messages.
2015-01-20 11:05:56 +01:00
Marc-André Moreau
f6b3b24c22
winpr: add new line ending, utf16 byte order swap functions
2014-10-16 18:07:44 -04:00
Armin Novak
b22b897389
Reformatted changed files.
2014-09-09 16:32:22 +02:00
Armin Novak
7e3a1b3073
Now using macro to generate module specific log tag.
2014-09-09 16:32:04 +02:00
Armin Novak
28ece6bb46
Replaced stdio logging with WLog
2014-09-09 16:31:46 +02:00
Marc-André Moreau
87fd839a35
libfreerdp-codec: cleanup and fix __lzcnt on Windows
2014-08-11 18:48:42 -04:00
Marc-André Moreau
dc7f89dbd5
Merge branch 'egfx' of github.com:awakecoding/FreeRDP
2014-08-11 17:25:38 -04:00
Marc-André Moreau
51f6ffd2ba
libfreerdp-codec: improve rfx progressive RLGR1 implementation
2014-08-02 22:26:05 -04:00
Bernhard Miklautz
8c318da7b1
fix compiler warnings
2014-07-29 05:22:29 +02:00
Bernhard Miklautz
b8415af0d8
Fix compiler warnings.
...
This commit is based on pull request #1493
2014-07-29 05:22:29 +02: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
Marc-André Moreau
2e1f6b0c6d
libwinpr-crt: fix realloc to smaller size
2014-07-09 20:10:33 -04:00
Marc-André Moreau
ac7d23b9a3
libfreerdp-gdi: migrate to _aligned_malloc/_aligned_free
2014-07-08 15:07:19 -04:00
Marc-André Moreau
1b93dca6c0
libwinpr-sspi: add support for querying user+domain and setting NTLM hash
2014-06-10 16:38:16 -04:00
Marc-André Moreau
a37c6bb653
libwinpr-sspi: fix build on Linux
2014-06-07 16:46:32 -04:00
Marc-André Moreau
220f885774
libwinpr-sspi: code hardening
2014-06-06 17:20:34 -04:00
Marc-André Moreau
472c231876
Merge pull request #1826 from Hobby-Student/master
...
fix FreeBSD compile errors
2014-05-21 10:53:47 -04:00
Marc-André Moreau
a202fe4057
freerdp: fix several type related warnings
2014-05-08 18:02:02 -04:00
Hobby-Student
03315cebe8
FreeBSD compile errors
2014-05-01 15:09:35 +02:00
Marc-André Moreau
769502ec72
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-04-26 13:47:01 -04:00
Marc-André Moreau
746e8a6929
libwinpr-smartcard: fix usage of native data types
2014-04-25 18:49:57 -04:00
Marc-André Moreau
866169bdad
libwinpr-crt: add type sizeof tests
2014-04-25 18:10:04 -04:00
Bernhard Miklautz
b817e92e5e
cmake: mark required libraries for export
2014-04-23 10:16:02 +02:00
Marc-André Moreau
c484dc630c
libwinpr-crt: add proper unicode uppercasing
2014-03-03 21:26:13 -05:00
Marc-André Moreau
cc301348df
libwinpr-crt: added SecureZeroMemory
2013-11-01 18:32:36 -04:00
Marc-André Moreau
55565e056c
freerdp: export targets
2013-10-28 23:06:39 -04:00
Armin Novak
a3b531c036
Fixed issues found with clang-analyzer
2013-09-05 12:14:33 +02:00
Armin Novak
96285eec58
Fixed coverity issue 1047647
2013-09-05 12:14:33 +02:00
Armin Novak
a55afb58a4
Fixed coverity issue 1047634
2013-09-05 12:14:31 +02:00
Marc-André Moreau
9f25c4fc25
libfreerdp-codec: initial working fragmented NSCodec encoder
2013-08-15 13:13:02 -04:00
Bernhard Miklautz
b0d69caee8
winpr/alignment: use size_t instead of UINT32
2013-06-19 19:07:31 +02:00
Bernhard Miklautz
40ea683982
winpr: offset support in _aligned_offset_malloc
...
Added support to handle offset parameter in _aligned_offset_ functions.
fixes #1299
2013-06-18 18:43:59 +02:00
Hardening
7701c9d934
Replace printf(...) by fprintf(stderr, ...)
2013-03-28 23:06:34 +01:00
Bernhard Miklautz
f6810fb138
Fixed warnings for 32 bit builds
2013-03-15 22:49:25 +01:00
Bernhard Miklautz
1519152709
winpr/sspi: fixed test TestInitializeSecurityContext
2013-03-15 21:47:24 +01:00
Bernhard Miklautz
e8eb0d0b44
Fixed formating build warnings (-Wformat)
2013-03-15 20:03:48 +01:00
Vic Lee
b3d34f62dc
libwinpr-crt: add extra null-terminator for ConvertFromUnicode.
2012-12-19 22:03:31 +08:00
Marc-André Moreau
a02090c09b
libfreerdp-utils: fix unicode conversion
2012-12-16 23:00:40 -05:00
Marc-André Moreau
15eb66a707
libwinpr-crt: document usage of unicode functions
2012-12-16 20:44:40 -05:00
Marc-André Moreau
136fd5da45
libwinpr-crt: fix unicode conversion null termination
2012-12-16 17:48:35 -05:00
Marc-André Moreau
c6503c3283
libwinpr-crt: isolate single failing unicode conversion test
2012-12-16 16:59:40 -05:00
Marc-André Moreau
d7bae41092
libwinpr-crt: improve UTF conversion efficiency
2012-12-16 16:51:05 -05:00
Marc-André Moreau
36a1683a5d
libwinpr-crt: initial WideCharToMultiByte and MultiByteToWideChar replacement implementation
2012-12-16 16:21:48 -05:00
Marc-André Moreau
8fffb17933
libwinpr-crt: cleanup unicode conversion test
2012-12-15 14:07:32 -05:00
Marc-André Moreau
a23e658add
libwinpr-crt: improve unicode conversion test
2012-12-15 13:55:20 -05:00
Marc-André Moreau
9dd281e9ee
libwinpr-crt: improve MultiByteToWideChar tests
2012-12-14 16:54:51 -05:00
Marc-André Moreau
b60754cee6
libwinpr-crt: added test strings for character set conversion
2012-12-14 14:45:52 -05:00