diff options
author | Michael Kubacki <michael.kubacki@microsoft.com> | 2023-09-06 12:39:21 -0400 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-09-08 15:02:35 +0000 |
commit | 493a375eef584be2beaaa3d418a8e7ff333c5468 (patch) | |
tree | 477b2cd170b5d328322d96e814b771509cef6156 /OvmfPkg/Bhyve | |
parent | 60d0f5802bceab3482c6be6dfde73a2af8373f9f (diff) | |
download | edk2-493a375eef584be2beaaa3d418a8e7ff333c5468.tar.gz edk2-493a375eef584be2beaaa3d418a8e7ff333c5468.tar.bz2 edk2-493a375eef584be2beaaa3d418a8e7ff333c5468.zip |
ShellPkg/UefiShellNetwork2CommandsLib: Check array index before access
Moves the range check for the index into the array before attempting
any accesses using the array index.
Cc: Zhichao Gao <zhichao.gao@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
Diffstat (limited to 'OvmfPkg/Bhyve')
0 files changed, 0 insertions, 0 deletions