summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Trim/Trim.py
diff options
context:
space:
mode:
authorMichael Kubacki <michael.kubacki@microsoft.com>2023-12-12 22:00:40 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-12-15 00:52:09 +0300
commit3ce5f2d445e51efe2aebaa227a055e5c8522d00b (patch)
treeadab6f7f5f738cf774154b86efc74c70623b1cd9 /BaseTools/Source/Python/Trim/Trim.py
parent7f5e75895bd6bbfbde191fb8458d324033f76c57 (diff)
downloadedk2-3ce5f2d445e51efe2aebaa227a055e5c8522d00b.tar.xz
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 'BaseTools/Source/Python/Trim/Trim.py')
0 files changed, 0 insertions, 0 deletions