diff options
| author | David Lönnhager <david.l@mullvad.net> | 2020-02-20 13:55:43 +0100 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2020-02-27 09:48:42 +0100 |
| commit | 6785283cdad063f3134a0ca9c8f9c7cc093c4efb (patch) | |
| tree | ee47889dc672610ab128ef8ae9400fa2ff534524 /windows | |
| parent | cd500438ab9cd5eb2cd831dc1096722cce912b54 (diff) | |
| download | mullvadvpn-6785283cdad063f3134a0ca9c8f9c7cc093c4efb.tar.xz mullvadvpn-6785283cdad063f3134a0ca9c8f9c7cc093c4efb.zip | |
Do not log properties in msiutil, as they may contain sensitive info
Diffstat (limited to 'windows')
| -rw-r--r-- | windows/nsis-plugins/src/msiutil/msiutil.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/windows/nsis-plugins/src/msiutil/msiutil.cpp b/windows/nsis-plugins/src/msiutil/msiutil.cpp index 131b52dbcd..7aa5ef3e46 100644 --- a/windows/nsis-plugins/src/msiutil/msiutil.cpp +++ b/windows/nsis-plugins/src/msiutil/msiutil.cpp @@ -67,6 +67,12 @@ int WINAPI InstallerHandler( LPCWSTR message ) { + // Do not log potentially sensitive information + if (0 == _wcsnicmp(message, L"Property", _countof(L"Property") - sizeof(L'\0'))) + { + return 0; + } + PluginLog(message); // return 0 to pass it on to the installer return 0; |
