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

redfishpower: check for post data #66

Merged
merged 1 commit into from
Jan 20, 2024
Merged

Conversation

chu11
Copy link
Member

@chu11 chu11 commented Jan 20, 2024

Problem: When issuing a power command, checks are done to ensure paths are setup, but not post data. If the latter is not set, it can lead to a segfault.

Add check for post data.

Problem: When issuing a power command, checks are done to ensure
paths are setup, but not post data.  If the latter is not set,
it can lead to a segfault.

Add check for post data.
Copy link
Member

@garlick garlick left a comment

Choose a reason for hiding this comment

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

LGTM!

@chu11 chu11 merged commit 94e627b into chaos:master Jan 20, 2024
4 checks passed
@chu11 chu11 deleted the redfishpower_segfault branch January 23, 2024 16:06
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