summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Common/RangeExpression.py
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2019-05-09 00:38:47 +0300
committerMichael D Kinney <michael.d.kinney@intel.com>2019-05-10 05:58:05 +0300
commitf635a42e14f4b839cb015ae7216055038519a16e (patch)
tree3caa0026761b37bb27184721b65e47745bec4853 /BaseTools/Source/Python/Common/RangeExpression.py
parent3eac7496bef1636b3745ff015581012534a47721 (diff)
downloadedk2-f635a42e14f4b839cb015ae7216055038519a16e.tar.xz
Vlv2TbltDevicePkg/AcpiPlatform: Change Size type to UINTN
Change the type of the local variable Size in the function AcpiPlatformEntryPoint() from UINT32 to UINTN. This local variable is passed into the function ReadSection() that returns a value of type UINTN. Using type UINT32 can potentially corrupt an adjacent local on the stack. Cc: Zailiang Sun <zailiang.sun@intel.com> Cc: Yi Qian <yi.qian@intel.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Zailiang Sun <zailiang.sun@intel.com> Reviewed-by: Yi Qian <yi.qian@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/RangeExpression.py')
0 files changed, 0 insertions, 0 deletions