mirror of
https://github.com/openai/codex.git
synced 2026-11-24 23:20:47 +00:00
Fix environment manager hardening issues
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -790,8 +790,9 @@ impl Session {
|
||||
tx_event.clone(),
|
||||
session_configuration.sandbox_policy.get().clone(),
|
||||
McpRuntimeEnvironment::new(
|
||||
environment
|
||||
.clone()
|
||||
sess.services
|
||||
.environment_manager
|
||||
.default_environment()
|
||||
.unwrap_or_else(|| Arc::new(Environment::default())),
|
||||
session_configuration.cwd.to_path_buf(),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user