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

Check data length and IANA for OEM commands #267

Closed
wants to merge 1 commit into from

Conversation

Yi-Shum
Copy link
Collaborator

@Yi-Shum Yi-Shum commented Apr 27, 2022

Summary:

  • BIC will hang if OEM command with no data is received, as following
    bic-util slot1 0xe0 0x60

  • IPMI message have indeterminate default data, if current data length
    is zero but default data is the same as IANA, the check will still pass.

  • Fixed it by checking data length and IANA.

Test plan:

  • Build code: PASS

Summary:
- BIC will hang up if OEM command with no data is received, as following
bic-util slot1 0xe0 0x60

- IPMI message retains previous data, if the retained data is same as
IANA, the check will pass even data length is zero.
- Fixed it by checking data length and IANA.

Test plan:
Build code: PASS
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 27, 2022
@facebook-github-bot
Copy link
Contributor

@GoldenBug has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants