]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
ToolsCore_GetVmusrLimit(): use app name from ToolsServiceState struct
authorOliver Kurth <okurth@vmware.com>
Fri, 26 Oct 2018 17:44:55 +0000 (10:44 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 26 Oct 2018 17:44:55 +0000 (10:44 -0700)
commit8e1e6d8a55bc67dc084ea92e9d449acaf1968ad3
tree64223e949e6782aebdbdd756aae7fc13f4735be6
parent7deb123700457d97316cf536ce8ee9c4150e70cb
ToolsCore_GetVmusrLimit(): use app name from ToolsServiceState struct

The vmusr process on Windows is calling ToolsCore_GetVmusrLimit() early
in the process before ToolsCore_Setup() is called to initialize the
ctx member.  In ToolsCore_GetVmusrLimit(), changing the call to
VMTools_ConfigGetInteger to use "state->name" instead of the
state->ctx.name.
open-vm-tools/services/vmtoolsd/mainLoop.c