Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix invalid access of NewRecoveryChallenge when memory allocation fai…
…ls (#168) ## Description If memory allocation for the NewChallenge variable should not be used. It will result in Invalid access at the following line. NewChallenge->SerialNumber = 0; With this change if memory allocation for the NewChallenge variable fails, EFI_OUT_OF_RESOURCES is returned - [ ] Impacts functionality? No - [ ] Impacts security? No - [ ] Breaking change? No - [ ] Includes tests? No - [ ] Includes documentation? No ## How This Was Tested Build passes with this change ## Integration Instructions N/A
- Loading branch information