Armin Novak
|
72ca88f49c
|
Reformatted to new style
|
2019-11-07 10:53:54 +01:00 |
|
Armin Novak
|
f01e042211
|
Code cleanups (strlen, casts, size_t, ...)
|
2019-10-29 11:58:43 +01:00 |
|
Armin Novak
|
00a5d06fc1
|
Fixed coverity memory leak.
|
2018-08-27 14:34:42 +02:00 |
|
Armin Novak
|
44dfaf7841
|
Fixed dead store warning.
|
2017-11-15 15:56:24 +01:00 |
|
Armin Novak
|
0490aeb018
|
Fixed clang malloc integer overflow warnings.
|
2017-07-20 09:29:48 +02:00 |
|
Armin Novak
|
b2c29158be
|
Scanbuild warning, argument checks and leak fixes.
* Added Stream_GetRemainingCapacity to check remaining stream size
before writes.
* Fixed shadow server memory leak.
* Fixed lots of scanbuild warnings
* Added missing argument checks in many functions
* Added missing static function declarations
|
2017-03-02 18:13:43 +01:00 |
|
Ilya Shipitsin
|
102913e808
|
make cppcheck a bit happier:
[channels/printer/client/printer_cups.c:103]: (error) Resource leak: fp
[server/Mac/mf_event.c:195]: (error) Memory leak: event_queue
[server/shadow/shadow_capture.c:233]: (error) Memory leak: capture
[winpr/libwinpr/sspi/test/TestSchannel.c:440]: (error) Memory leak: lpTokenIn
[winpr/libwinpr/thread/argv.c:198]: (error) Memory leak: lpEscapedChars
[winpr/libwinpr/utils/sam.c:312]: (error) Memory leak: entry
|
2017-01-25 17:09:25 +05:00 |
|
Marc-André Moreau
|
d0f413db12
|
winpr: initial port to Universal Windows Platform (UWP)
|
2016-02-05 16:28:45 -05:00 |
|
Bernhard Miklautz
|
0cdb4f7924
|
Fix compiler warnings
gcc (Debian 4.9.2-10) 4.9.2
winpr/libwinpr/thread/argv.c: In function ‘CommandLineToArgvA’:
winpr/libwinpr/thread/argv.c:94:6: warning: unused variable ‘index’ [-Wunused-variable]
int index;
winpr/libwinpr/file/test/TestFileGetStdHandle.c: In function ‘TestFileGetStdHandle’:
winpr/libwinpr/file/test/TestFileGetStdHandle.c:44:2: warning: implicit
declaration of function ‘CloseHandle’ [-Wimplicit-function-declaration]
CloseHandle(stdout);
^
libfreerdp/codec/test/TestFreeRDPRegion.c: In function ‘test_norbert2_case’:
libfreerdp/codec/test/TestFreeRDPRegion.c:697:6: warning: unused variable ‘i’ [-Wunused-variable]
int i;
channels/cliprdr/server/cliprdr_main.c: In function ‘cliprdr_server_receive_format_list’:
channels/cliprdr/server/cliprdr_main.c:636:24: warning: unused variable ‘cliprdr’ [-Wunused-variable]
CliprdrServerPrivate* cliprdr = (CliprdrServerPrivate*) context->handle;
^
channels/cliprdr/server/cliprdr_main.c: In function ‘cliprdr_server_init’:
channels/cliprdr/server/cliprdr_main.c:1097:24: warning: unused variable ‘cliprdr’ [-Wunused-variable]
CliprdrServerPrivate* cliprdr = (CliprdrServerPrivate*) context->handle;
|
2015-11-09 19:26:34 +01:00 |
|
Norbert Federa
|
d6b5b906f4
|
winpr/argv: fix CommandLineToArgvA memory access
- fixed access of unitialized memory beyond terminating null
- minor simplifications
|
2015-11-05 18:10:05 +01:00 |
|
Norbert Federa
|
1eff1a345e
|
free can handle NULL perfectly fine
|
2015-05-11 09:07:39 +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 |
|
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
|
7ec19ac0f2
|
libwinpr-thread: fix build on Windows
|
2013-09-25 15:47:18 -04:00 |
|
Marc-André Moreau
|
8d142eb85f
|
libwinpr-thread: initial CreateProcess() implementation
|
2013-09-22 17:23:00 -04:00 |
|
Marc-André Moreau
|
bb9db97204
|
libwinpr-thread: improve CommandLineToArgv completeness
|
2013-09-21 20:05:14 -04:00 |
|
Marc-André Moreau
|
83e124f909
|
libwinpr-thread: partial support for character escaping in CommandLineToArgv
|
2013-09-21 19:49:00 -04:00 |
|
Marc-André Moreau
|
56672023db
|
libwinpr-thread: start implementing CommandLineToArgv
|
2013-09-21 17:16:49 -04:00 |
|