Re: [edk2-devel] [PATCH EDK2 v1 1/1] CryptoPkg/BaseCryptLib:time overflow

2022-12-01 Thread Yao, Jiewen
A) ; devel@edk2.groups.io; Wang, > Jian J ; Lu, Xiaoyu1 ; Jiang, > Guomin > Cc: songdongku...@huawei.com; yizih...@huawei.com > Subject: Re: [edk2-devel] [PATCH EDK2 v1 1/1] > CryptoPkg/BaseCryptLib:time overflow > > Thank you! > > Reviewed-by: Jiewen Yao > > &g

Re: [edk2-devel] [PATCH EDK2 v1 1/1] CryptoPkg/BaseCryptLib:time overflow

2022-12-01 Thread Yao, Jiewen
> Subject: Re: [edk2-devel] [PATCH EDK2 v1 1/1] > CryptoPkg/BaseCryptLib:time overflow > > > > On 2022/12/1 16:34, Yao, Jiewen wrote: > > Thank you! > > > > Would you please share what test you have run for this patch, such as > UEFI secure boot? HTTPS boot

Re: [edk2-devel] [PATCH EDK2 v1 1/1] CryptoPkg/BaseCryptLib:time overflow

2022-12-01 Thread wenyi,xie via groups.io
gt; J ; Lu, Xiaoyu1 ; Jiang, >> Guomin >> Cc: songdongku...@huawei.com; xiewen...@huawei.com; >> yizih...@huawei.com >> Subject: [edk2-devel] [PATCH EDK2 v1 1/1] CryptoPkg/BaseCryptLib:time >> overflow >> >> From: Zihong Yi >> >> REF: https://bugzilla.tiano

Re: [edk2-devel] [PATCH EDK2 v1 1/1] CryptoPkg/BaseCryptLib:time overflow

2022-12-01 Thread Yao, Jiewen
io; Yao, Jiewen ; Wang, Jian > J ; Lu, Xiaoyu1 ; Jiang, > Guomin > Cc: songdongku...@huawei.com; xiewen...@huawei.com; > yizih...@huawei.com > Subject: [edk2-devel] [PATCH EDK2 v1 1/1] CryptoPkg/BaseCryptLib:time > overflow > > From: Zihong Yi > > REF: https://bugzil

[edk2-devel] [PATCH EDK2 v1 1/1] CryptoPkg/BaseCryptLib:time overflow

2022-11-25 Thread wenyi,xie via groups.io
From: Zihong Yi REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4167 In CrtLibSupport.h, time_t is defined as INT32, and its maximum value is 2147483647. That is, the corresponding maximum timestamp is 2038-01-19 11:14:07. Therefore, overflow occurs when the test time exceeds 2038-01-19 11:1