ClientRuntimeLoader: client assemblies must resolve under a trusted root
The reload pointer, and the initial --client-assembly, named any path and ran whatever it held in the engine process. Reload now refuses relative and UNC paths and anything that, links followed, lies outside the trusted root (--client-trusted-root or AQUARIUM_CLIENT_TRUSTED_ROOT; default: the directory of the initial assembly). dev-reload passes its slot directory as the root. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
34aaebfb94
commit
d44666ec69
5 changed files with 177 additions and 4 deletions
|
|
@ -195,7 +195,8 @@ function Start-AquariumProcess {
|
|||
"--cache", $cultCachePath,
|
||||
"--shader-source", (Join-Path $SlotPath "Render\Shaders\D3D12HeightField.hlsl"),
|
||||
"--client-assembly", $LiveAssemblyPath,
|
||||
"--client-reload-pointer", $liveReloadPointerPath
|
||||
"--client-reload-pointer", $liveReloadPointerPath,
|
||||
"--client-trusted-root", $slotRoot
|
||||
)
|
||||
if ($RunHeadless) {
|
||||
$arguments += "--headless"
|
||||
|
|
|
|||
Loading…
Reference in a new issue