akallabeth
|
6b36c6d417
|
Replace fopen and path functions with wrappers (#7043)
Functions like fopen, PathFileExists, PathMakePath need to call
the wide character versions on windows for utf-8 support.
|
2021-05-31 11:42:03 +02:00 |
|
akallabeth
|
2ea7ac0c06
|
Unified bin to hex and hex to bin conversion
* Added new functions in WinPR
* Added unit tests for new functions
* Replaced existing (internal) conversion functions
|
2021-04-19 10:45:21 +02:00 |
|
akallabeth
|
b500800104
|
Cleaned up SAM file parser.
|
2021-04-16 16:22:39 +02:00 |
|
akallabeth
|
e2fd9db0b5
|
Added const to function arguments
|
2021-02-17 11:29:56 +01:00 |
|
akallabeth
|
aea795eecf
|
Fixed invalid argument to strtok_s
|
2020-05-20 15:10:07 +02:00 |
|
akallabeth
|
ddb388e152
|
Refactored sam functions to utilize strtok_s
|
2020-05-18 12:07:59 +02:00 |
|
Armin Novak
|
7c243da6e1
|
Remove symbols exported by accident.
|
2019-12-02 10:57:31 +01:00 |
|
Armin Novak
|
72ca88f49c
|
Reformatted to new style
|
2019-11-07 10:53:54 +01:00 |
|
Ilya Shipitsin
|
77323d6f1d
|
remove not needed check
PVS analyzer: A part of conditional expression is always true: DomainMatch.
|
2018-11-15 01:54:39 +05:00 |
|
Armin Novak
|
e36d87b55c
|
Fix #4445: Do not call fclose on NULL file.
|
2018-02-16 09:05:39 +01:00 |
|
Armin Novak
|
9804d5a4a7
|
SamOpen return NULL if file was not opened.
|
2018-01-08 13:07:11 +01:00 |
|
Armin Novak
|
04708b37e1
|
Fixed serious issues with SAM file parser
The parser ommitted various checks during file parsing.
Invalid syntax did crash the whole thing.
|
2017-12-21 14:39:43 +01:00 |
|
Bernhard Miklautz
|
52fbfb7b12
|
fix clang warnings, directly include wtypes.h (#4097)
* build: clang use -Wno-unused-command-line-argument
With clang 5.0 builds are quite noisy otherwise.
* Directly include wtypes.h
Directly include winpr/wtypes.h where _fseeki64 or _ftelli64 is used.
* fix build warnings with clang 5
clang version: 5.0.0-svn310678-1~exp1 (branches/release_50)
Warning: parentheses-equality
* fix build warnings with clang 5
clang version: 5.0.0-svn310678-1~exp1 (branches/release_50)
Warning: tautological-compare
* fix build warnings with clang 5
clang version: 5.0.0-svn310678-1~exp1 (branches/release_50)
Warning:
incompatible pointer types passing 'size_t *' (aka 'unsigned
long *') to parameter of type 'UINT32 *' (aka 'unsigned int *')
[-Wincompatible-pointer-types]
|
2017-08-29 09:09:38 +02:00 |
|
Armin Novak
|
c3d4b7d262
|
fseeko and ftello for 64bit file support.
|
2017-08-14 08:42:49 +02: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
|
801dc0f826
|
freerdp: add configurable NTLM SAM file option for server-side NLA
|
2016-07-21 18:58:24 -04:00 |
|
Bernhard Miklautz
|
67368b2ec7
|
Adapt error level for debug messages
When using xfreerdp a regular invocation should really only report grave
problems as error. "Regular" messages should be either info or even
debug.
|
2015-11-09 18:27:38 +01:00 |
|
Armin Novak
|
6698e24228
|
Fixed leaks, NULL dereferences and broken init.
|
2015-06-23 21:29:21 +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
|
a15df299e9
|
Removed last remainig printf.
|
2014-09-09 16:32:23 +02:00 |
|
Bernhard Miklautz
|
b8415af0d8
|
Fix compiler warnings.
This commit is based on pull request #1493
|
2014-07-29 05:22:29 +02:00 |
|
Marc-André Moreau
|
5ff847a6e6
|
wfreerdp: fix multiple warnings
|
2014-02-10 01:06:11 -05:00 |
|
Armin Novak
|
020bae25d7
|
Fixed coverity issue 1047594
|
2013-09-05 12:14:32 +02:00 |
|
Marc-André Moreau
|
beefa1a21d
|
libfreerdp-client: initial support for .rdp file parsing
|
2012-10-27 20:25:11 -04:00 |
|
Marc-André Moreau
|
5a16095ddf
|
libwinpr-sspi: valgrind cleanup
|
2012-08-23 01:18:47 -04: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 |
|