Re: [edk2-devel] [PATCH] CryptoPkg/SysCall: Cast variables from 4 to 8-byte size

2019-12-12 Thread Zhang, Shenglei
Shenglei > Cc: Wang, Jian J ; Lu, XiaoyuX > Subject: Re: [edk2-devel] [PATCH] CryptoPkg/SysCall: Cast variables from 4 > to 8-byte size > > On 12/05/19 09:46, Zhang, Shenglei wrote: > > tp, pch, digits and xdigits are both 4-byte-size, but not > > cast to 8-byte-siz

Re: [edk2-devel] [PATCH] CryptoPkg/SysCall: Cast variables from 4 to 8-byte size

2019-12-07 Thread Laszlo Ersek
On 12/05/19 09:46, Zhang, Shenglei wrote: > tp, pch, digits and xdigits are both 4-byte-size, but not > cast to 8-byte-size when operated with 8-byte-size variables. > This is a issue reported by my local static tool. > > Cc: Jian J Wang > Cc: Xiaoyu Lu > Signed-off-by: Shenglei Zhang > --- >

[edk2-devel] [PATCH] CryptoPkg/SysCall: Cast variables from 4 to 8-byte size

2019-12-05 Thread Zhang, Shenglei
tp, pch, digits and xdigits are both 4-byte-size, but not cast to 8-byte-size when operated with 8-byte-size variables. This is a issue reported by my local static tool. Cc: Jian J Wang Cc: Xiaoyu Lu Signed-off-by: Shenglei Zhang --- CryptoPkg/Library/BaseCryptLib/SysCall/inet_pton.c | 4 ++--