summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Common
diff options
context:
space:
mode:
authorTormod Volden <debian.tormod@gmail.com>2024-07-23 23:23:20 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-12-16 18:34:43 +0000
commitef3a1ef397a2677cccd0e3e7f1287f29f0094e17 (patch)
treefb027a6ea541b26884e157b36a46e72d079ce9f0 /BaseTools/Source/Python/Common
parent7936ffa1e60e73ae4366777e08cf57fda5f47e5b (diff)
downloadedk2-ef3a1ef397a2677cccd0e3e7f1287f29f0094e17.zip
edk2-ef3a1ef397a2677cccd0e3e7f1287f29f0094e17.tar.gz
edk2-ef3a1ef397a2677cccd0e3e7f1287f29f0094e17.tar.bz2
ShellPkg/UefiShellLib: Prevent out-of-bounds access
If InternalShellStrHexToUint64() is passed a string that starts with 'X' or 'x' it would try to read the byte before the start of the string buffer. Instead check if leading zeroes have been consumed. Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Diffstat (limited to 'BaseTools/Source/Python/Common')
0 files changed, 0 insertions, 0 deletions