mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
[Refs #87: Static Analysis] Extra wchar_t for null terminator
This commit is contained in:
@@ -403,7 +403,7 @@ wstring LookupModule(wstring moduleDetails)
|
||||
{
|
||||
wstring sympath = GetSymSearchPath();
|
||||
|
||||
wchar_t path[MAX_PATH] = {0};
|
||||
wchar_t path[MAX_PATH+1] = {0};
|
||||
BOOL found = dynSymFindFileInPathW(GetCurrentProcess(), sympath.c_str(), pdbName, &guid, age, 0, SSRVOPT_GUIDPTR, path, NULL, NULL);
|
||||
DWORD err = GetLastError();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user