Zhang Zhaolong
ea67d8b1bc
libwinpr: fix lost of mergeStrings.
...
Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
2015-03-13 10:38:07 +08:00
Zhang Zhaolong
e30d1c0f47
libwinpr: fix incorrect usage of realloc.
...
Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
2015-03-11 14:59:56 +08:00
Armin Novak
8640872161
Fixed mixed variable declaration.
2014-11-17 01:42:24 +01:00
Armin Novak
709435d6d7
Fixed memory leak.
2014-11-16 22:47:23 +01:00
Armin Novak
abeb29213f
Fixed memory leak.
2014-11-16 17:21:36 +01:00
Armin Novak
37facc0d44
Fixed memory leak.
2014-11-16 16:05:01 +01:00
Armin Novak
b9908af64a
Fixed memory leaks.
2014-11-16 16:02:28 +01:00
Armin Novak
77a3c0ca4a
Fixed use after free.
2014-11-16 15:13:08 +01:00
Marc-André Moreau
c5c9423ccf
winpr: fix Win32 build warnings
2014-11-04 10:44:55 -05:00
Marc-André Moreau
8ef4c14a6d
libwinpr-environment: fix extended functions
2014-10-10 19:16:51 -04:00
Bernhard Miklautz
02c4e261d1
winpr-env: update Get/SetEnvironmentVariableA
...
* set last error to ERROR_ENVVAR_NOT_FOUND in GetEnvironmentVariableA
if not found
* remove unused variables in SetEnvironmentVariableA
* add more test cases
2014-04-17 11:48:50 +02:00
Martin Haimberger
a6c34c114e
using setenv instead of putenv to prevent memleaks
2014-04-11 02:17:43 -07:00
Bernhard Miklautz
297247042d
winpr-env: fix in GetEnvironmentVariableEBA
...
* also fix cases where the provided env block is NULL
2014-02-20 18:29:16 +01:00
Bernhard Miklautz
591a8192e0
winpr-env: fix in GetEnvironmentVariableEBA
...
GetEnvironmentVariableEBA didn't do exact matching of the requested variable name. If a variable
with similar but shorter name was set in the environment block it was returned.
For example if HOME was set in the environment block and HOMEX was requested the value of HOME was
returned.
2014-02-14 11:12:21 +01:00
Bernhard Miklautz
909800eca0
winpr: fixed problems Set/GetEnvironmentVariableEBA
...
* valgrind: fixed invalid read
* invalid or damaged environment blocked caused endless loop
* envblock created in SetEnvironmentVariableEBA lacked a trailing '\0'
which could lead to a damaged environment block
2014-02-13 14:31:11 +01:00
Marc-André Moreau
62199fc46a
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-12-10 11:54:03 -05:00
Bernhard Miklautz
2b6b4a6685
updated file headers
2013-12-04 11:44:22 +01:00
Marc-André Moreau
cea8c08328
ifreerdp: fix iOS/OSX platform detection
2013-12-03 15:19:58 -05:00
Marc-André Moreau
d5f18e88cc
libwinpr-environment: fix usage of environ on OS X
2013-12-03 00:52:02 -05:00
Martin Haimberger
8479462b5e
changed the interface of SetEnvironmentVariableEBA
2013-10-23 03:43:06 -07:00
Martin Haimberger
fdacd898f5
MergeEnvironmentStrings works also for a null original env
2013-10-23 03:00:22 -07:00
Martin Haimberger
97ef519a54
added Set/GetEnvironmentVariableEBA
...
did some bugfixing within the MergeEnvironmentVariable
added Tests
2013-10-23 02:27:31 -07:00
Martin Haimberger
87ce6f28cf
added merge function for environmentblocks
2013-10-23 00:58:33 -07:00
Marc-André Moreau
3d2754e8ed
libwinpr-environment: implement required functions for CreateProcess
2013-09-23 14:44:59 -04:00
Marc-André Moreau
edf6e7258d
libwinpr-path: add path detection functions
2013-03-22 00:42:09 -04:00
Marc-André Moreau
90ffa6ea86
libwinpr: stubbed Path API
2012-09-22 22:02:55 -04:00