Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix wrong parameters passed to EnforceExecExternalProcessPolicy #1523

Merged
merged 1 commit into from
Sep 23, 2022

Conversation

anmaxvl
Copy link
Contributor

@anmaxvl anmaxvl commented Sep 22, 2022

Fixes GCS panic, because OCIProcess for exec external is nil.

For exec external process we don't use OCIProcess field of ProcessParameters, but instead use the top level CommandArgs, Environment and WorkingDirectory.

Signed-off-by: Maksim An maksiman@microsoft.com

Fixes GCS panic, because OCIProcess for exec external is nil.

For exec external process we don't use OCIProcess field of
ProcessParameters, but instead use the top level CommandArgs,
Environment and WorkingDirectory.

Signed-off-by: Maksim An <maksiman@microsoft.com>
@anmaxvl anmaxvl requested a review from a team as a code owner September 22, 2022 05:52
@anmaxvl
Copy link
Contributor Author

anmaxvl commented Sep 22, 2022

@matajoh FYI

@anmaxvl anmaxvl merged commit 2b143a0 into microsoft:main Sep 23, 2022
@anmaxvl anmaxvl deleted the fix/enforce-exec-external-params branch September 23, 2022 19:05
princepereira pushed a commit to princepereira/hcsshim that referenced this pull request Aug 29, 2024
…osoft#1523)

Fixes GCS panic, because OCIProcess for exec external is nil.

For exec external process we don't use OCIProcess field of
ProcessParameters, but instead use the top level CommandArgs,
Environment and WorkingDirectory.

Signed-off-by: Maksim An <maksiman@microsoft.com>

Signed-off-by: Maksim An <maksiman@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants