akallabeth
43311130a2
Fixed CodeQL warnings
2021-02-19 11:19:49 +01:00
Armin Novak
72ca88f49c
Reformatted to new style
2019-11-07 10:53:54 +01:00
Armin Novak
e9c4173c9b
Fixed winpr_HexLogDump line length calculation.
2019-02-28 09:54:05 +01:00
Armin Novak
bff5ded654
Better bounds checks for winpr_HexLogDump
2019-02-28 08:50:44 +01:00
Armin Novak
32aa11251b
Added a logger dump function operating on a preallocated logger.
2019-02-26 15:31:47 +01: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
Norbert Federa
e8c4910e2e
fix segfaults casused by size_t format specifier
...
win32/msvc cc does not recognize the %z format specifier which caused
invalid references and segfaults on win32.
Until FreeRDP gets format specifier macros we'll cast size_t to
unsigned long and use the %lu specifier.
Also simplified winpr_backtrace_symbols() a little bit and fixed it
to allocate the correct amount of bytes for the return buffer.
2016-05-27 15:55:28 +02:00
Marc-André Moreau
d0f413db12
winpr: initial port to Universal Windows Platform (UWP)
2016-02-05 16:28:45 -05: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
Marc-André Moreau
f0fc27f7bd
libwinpr-winscard: add WINPR_WINSCARD_LOCK_TRANSACTIONS environment variable, fix winpr_HexDump line feeds
2015-01-20 15:29:05 -05:00
Bernhard Miklautz
2218e9684a
Fix: misc compiler warnings
...
Seen in Xcode
2014-09-12 00:36:29 +02:00
Armin Novak
38d110da03
Fixed string size calculation in winpr_HexDump
2014-09-11 13:59:48 +02:00
Armin Novak
25e9ebadc2
Using trio_snprintf now.
2014-09-09 16:32:22 +02:00
Armin Novak
b22b897389
Reformatted changed files.
2014-09-09 16:32:22 +02:00
Armin Novak
3e21e570b8
Added recursion detection to WLog.
...
Dump functions now expect TAG and level as arguments.
2014-09-09 16:31:46 +02:00
Hardening
50f1f0df6f
Add some const modifiers
...
This allows these functions to be used with const buffers.
2014-05-09 22:36:50 +02:00
Marc-André Moreau
d699128a57
channels/smartcard: add more debug output
2014-04-13 15:50:51 -04:00
Marc-André Moreau
d9e1c0abaa
libfreerdp-codec: add more planar unit tests
2013-11-29 02:16:16 -05:00
Marc-André Moreau
6a8b5f2283
libwinpr-utils: start implementing WinPR logger
2013-09-15 15:46:02 -04:00
Hardening
7701c9d934
Replace printf(...) by fprintf(stderr, ...)
2013-03-28 23:06:34 +01:00
Marc-André Moreau
27dc85bed9
libwinpr-utils: add trio portable printf implementation
2013-03-21 21:30:31 -04:00
Martin Fleisz
b5ffa2f8ae
iOS: Compile fix
2013-03-13 15:12:44 +01:00
Martin Fleisz
96a2717b3c
iOS: Compile fixes ( Fixed #1069 , #1086 )
2013-03-13 15:08:45 +01:00
Marc-André Moreau
ea63fdb18e
libwinpr-utils: start custom printf replacement
2013-02-28 15:43:57 -05:00
Marc-André Moreau
faa4311232
libwinpr: add proper config.h inclusions
2012-08-14 17:20:53 -04:00
Marc-André Moreau
384af1d93b
include: move winpr include directory inside winpr
2012-08-14 15:49:39 -04:00