Commit 10b593b2 authored by Alexander Dorofeyev's avatar Alexander Dorofeyev Committed by Alexandre Julliard

quartz: Fix string buffer overflow.

parent e49eb1d6
...@@ -1472,7 +1472,7 @@ static HRESULT WINAPI FilterMapper_RegisterPinType( ...@@ -1472,7 +1472,7 @@ static HRESULT WINAPI FilterMapper_RegisterPinType(
LPWSTR wszClsidSubType = NULL; LPWSTR wszClsidSubType = NULL;
HKEY hKey = NULL; HKEY hKey = NULL;
WCHAR * wszTypesKey; WCHAR * wszTypesKey;
WCHAR wszKeyName[strlenW(wszClsidSlash) + (CHARS_IN_GUID-1) + 1]; WCHAR wszKeyName[MAX_PATH];
TRACE("(%p)->(%s, %s, %s, %s)\n", iface, debugstr_guid(&clsFilter), debugstr_w(szName), TRACE("(%p)->(%s, %s, %s, %s)\n", iface, debugstr_guid(&clsFilter), debugstr_w(szName),
debugstr_guid(&clsMajorType), debugstr_guid(&clsSubType)); debugstr_guid(&clsMajorType), debugstr_guid(&clsSubType));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment