diff options
author | Yuan Yu <yuanyu@google.com> | 2022-09-28 15:49:24 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-10-10 00:58:26 +0000 |
commit | 3c9e2f239a38590b4e3a8c1ec2304227f2af0103 (patch) | |
tree | 8bd495b5f9bf941cf620f32e9fb235118735fb8f /BaseTools/Source/Python/Common/LongFilePathOs.py | |
parent | de103f1981cfca90dd19296d4b20449a2b93dc26 (diff) | |
download | edk2-3c9e2f239a38590b4e3a8c1ec2304227f2af0103.tar.gz edk2-3c9e2f239a38590b4e3a8c1ec2304227f2af0103.tar.bz2 edk2-3c9e2f239a38590b4e3a8c1ec2304227f2af0103.zip |
CryptoPkg: Fix integer overflow
SECSPERDAY is 86400 which exceeds the limit of a UINT16 which is 65536.
Therefore DayRemainder cannot use UINT16. This patch makes it UINT32.
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Anthony Perard <anthony.perard@citrix.com>
Cc: Julien Grall <julien@xen.org>
Signed-off-by: Yuan Yu <yuanyu@google.com>
Reviewed-by: Ard Biesheuvel <ardb+tianocore@kernel.org>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/LongFilePathOs.py')
0 files changed, 0 insertions, 0 deletions