Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ShellPkg: Fix copy-pasto in NULL check to prevent segfault
The documentation says "If OldArgv or OldArgc is NULL then that value is not returned." However, only OldArgc was checked for NULL. In case OldArgc was non-NULL, but OldArgv was null, it would cause a segmentation fault. Signed-off-by: Tormod Volden <[email protected]>
- Loading branch information