diff options
author | Michael Kubacki <michael.kubacki@microsoft.com> | 2023-12-12 14:00:40 -0500 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-12-14 21:52:09 +0000 |
commit | 3ce5f2d445e51efe2aebaa227a055e5c8522d00b (patch) | |
tree | adab6f7f5f738cf774154b86efc74c70623b1cd9 /ShellPkg | |
parent | 7f5e75895bd6bbfbde191fb8458d324033f76c57 (diff) | |
download | edk2-3ce5f2d445e51efe2aebaa227a055e5c8522d00b.zip edk2-3ce5f2d445e51efe2aebaa227a055e5c8522d00b.tar.gz edk2-3ce5f2d445e51efe2aebaa227a055e5c8522d00b.tar.bz2 |
FatPkg/FatPei: Check array offset before use
Move the range check before array access to enforce the bounds
as expected.
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'ShellPkg')
0 files changed, 0 insertions, 0 deletions