summaryrefslogtreecommitdiff
path: root/src/ext/Util/ca/utilca.h
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2024-07-14 23:58:39 -0700
committerRob Mensching <rob@firegiant.com>2024-07-15 12:09:35 -0700
commit6bd80b51b42686ce5665140d0ab7c64bd35204d9 (patch)
treeeb29d0e56ff39aca78598c91f6256edc0e373c18 /src/ext/Util/ca/utilca.h
parent733886e73a5dab7da37515d98b611cdae1632c2d (diff)
downloadwix-6bd80b51b42686ce5665140d0ab7c64bd35204d9.tar.gz
wix-6bd80b51b42686ce5665140d0ab7c64bd35204d9.tar.bz2
wix-6bd80b51b42686ce5665140d0ab7c64bd35204d9.zip
Fix faulty memory access in Util's User custom actions
Generally, clean up the handling of getting the domain from a server name by centralizing and simplifying it behind an improved GetDomainFromServerName() based on the buggy GetServerName(). Fixes 8576
Diffstat (limited to 'src/ext/Util/ca/utilca.h')
-rw-r--r--src/ext/Util/ca/utilca.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ext/Util/ca/utilca.h b/src/ext/Util/ca/utilca.h
new file mode 100644
index 00000000..97c54561
--- /dev/null
+++ b/src/ext/Util/ca/utilca.h
@@ -0,0 +1,8 @@
1#pragma once
2// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
3
4HRESULT GetDomainFromServerName(
5 __deref_out_z LPWSTR* ppwzDomainName,
6 __in_z LPCWSTR wzServerName,
7 __in DWORD dwFlags
8 );