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

Backport #4679, fix(script): fixed panic when calling inherited_fds in root process #4681

Conversation

zhangsoledad
Copy link
Member

What problem does this PR solve?

Backport #4679,
When inherited_fds() is called in the root process, vm will panic.

What is changed and how it works?
What's Changed:

Returns an empty vector directly when inherited_fds() is called in the root process.

Check List

Tests

  • Unit test
  • Integration test

Release note

Title Only: Include only the PR title in the release note.

fix(script): fixed panic when calling inherited_fds in root process
@zhangsoledad zhangsoledad requested a review from a team as a code owner October 16, 2024 04:59
@zhangsoledad zhangsoledad requested review from doitian and removed request for a team October 16, 2024 04:59
@zhangsoledad zhangsoledad changed the base branch from develop to rc/v0.119.x October 16, 2024 05:00
@zhangsoledad zhangsoledad merged commit 039c333 into nervosnetwork:rc/v0.119.x Oct 16, 2024
34 checks passed
@zhangsoledad zhangsoledad deleted the backport/fix_inherited_fds branch October 16, 2024 06:08
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.

4 participants