-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add NULL Check to allow IpmiSendCommandInternal flow through avoindin…
…g assert as routine does not consider NULL para… (#243) ## Description IpmiSendCommandInternal did not allow NULL parameter for ResponseData and ResponseDataSize Parameters. Expected Behavior: NULL can be passed as parameter for some specific IPMI commands. FIX APPLIED: Allow IpmiSendCommandInternal to allow a NULL parameter as long as ResponseDataSize is zero. - [x] Impacts functionality? - **Functionality** - Does the change ultimately impact how firmware functions? - Examples: Add a new library, publish a new PPI, update an algorithm, ... - [ ] Impacts security? - **Security** - Does the change have a direct security impact on an application, flow, or firmware? - Examples: Crypto algorithm change, buffer overflow fix, parameter validation improvement, ... - [ ] Breaking change? - **Breaking change** - Will anyone consuming this change experience a break in build or boot behavior? - Examples: Add a new library class, move a module to a different repo, call a function in a new library class in a pre-existing module, ... - [ ] Includes tests? - **Tests** - Does the change include any explicit test code? - Examples: Unit tests, integration tests, robot tests, ... - [ ] Includes documentation? - **Documentation** - Does the change contain explicit documentation additions outside direct code modifications (and comments)? - Examples: Update readme file, add feature readme file, link to documentation on an a separate Web page, ... ## How This Was Tested Tested with Oem Specific Ipmi Command. Prior to change, cpu exception occurred. After fix, system was able to continue. ## Integration Instructions N/A --------- Co-authored-by: Aaron <[email protected]> Co-authored-by: Aaron Pop <[email protected]>
- Loading branch information
1 parent
0c52422
commit 253124f
Showing
3 changed files
with
59 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters