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

chaos-daemon: fix nil pointer dereference in chaos-daemon #2289

Merged
merged 7 commits into from
Sep 15, 2021

Conversation

YangKeao
Copy link
Member

@YangKeao YangKeao commented Sep 9, 2021

Signed-off-by: YangKeao yangkeao@chunibyo.icu

What problem does this PR solve?

When the toda exited unexpectedly, the process will dereference an nil error.

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
@ti-chi-bot
Copy link
Member

ti-chi-bot commented Sep 9, 2021

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • STRRL
  • WangXiangUSTC

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

pkg/bpm/bpm.go Outdated Show resolved Hide resolved
YangKeao and others added 5 commits September 13, 2021 13:41
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
Copy link
Member

@STRRL STRRL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@WangXiangUSTC WangXiangUSTC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@WangXiangUSTC
Copy link
Contributor

/merge

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: ff92d79

@ti-chi-bot ti-chi-bot merged commit f4d3d48 into chaos-mesh:master Sep 15, 2021
@ti-srebot
Copy link
Contributor

cherry pick to release-1.2 failed

@ti-srebot
Copy link
Contributor

cherry pick to release-2.0 failed

YangKeao added a commit to YangKeao/chaos-mesh that referenced this pull request Oct 29, 2021
…#2289)

* fix nil pointer dereference

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>

* change the variable name

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>

* remove modification on unrelated files

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>

* run make check

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
YangKeao added a commit to YangKeao/chaos-mesh that referenced this pull request Oct 29, 2021
…#2289)

* fix nil pointer dereference

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>

* change the variable name

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>

* remove modification on unrelated files

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>

* run make check

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Andrewmatilde pushed a commit that referenced this pull request Oct 29, 2021
)

* fix nil pointer dereference

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>

* change the variable name

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>

* remove modification on unrelated files

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>

* run make check

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Andrewmatilde added a commit that referenced this pull request Oct 29, 2021
ti-chi-bot added a commit that referenced this pull request Oct 31, 2021
)

* fix nil pointer dereference

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>

* change the variable name

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>

* remove modification on unrelated files

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>

* run make check

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants