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: copy process environment before changing it to avoid side effects #107

Merged
merged 5 commits into from
Mar 28, 2023

Conversation

PeterSchafer
Copy link
Contributor

@PeterSchafer PeterSchafer commented Mar 22, 2023

  • Ready for review
  • Follows CONTRIBUTING rules
  • Reviewed by Snyk internal team

What does this PR do?

Fix a bug in the CLI where environment variables were not being restored correctly, due to an side effect when accessing shared memory.

Where should the reviewer start?

How should this be manually tested?

Any background context you want to provide?

What are the relevant tickets?

Screenshots

Additional questions

@CLAassistant
Copy link

CLAassistant commented Mar 22, 2023

CLA assistant check
All committers have signed the CLA.

@j-luong j-luong marked this pull request as ready for review March 23, 2023 13:15
@j-luong j-luong requested a review from a team as a code owner March 23, 2023 13:15
@PeterSchafer PeterSchafer changed the title Fix/copy process env before change fix: copy process environment before changing it to avoid side effects Mar 23, 2023
@PeterSchafer PeterSchafer merged commit c851b60 into master Mar 28, 2023
@PeterSchafer PeterSchafer deleted the fix/copy_process_env_before_change branch March 28, 2023 10:46
@snyksec
Copy link

snyksec commented Mar 29, 2023

🎉 This PR is included in version 1.19.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants