In file /edk2-test/uefi-sct/EMS/Src/EmsRpc/EmsRpcEth.c, there are line like:
 
GetSystemTime(&Time);

FillCnlLlFlag(Packet, LastSendSeq, LINK_OPERATION_CLEANUP, 0, FALSE);
TimeStamp += ((UINT64)Time.wYear * 12 * 31 * 24 * 60 *60);
TimeStamp += ((UINT64)Time.wMonth * 31 * 24 * 60 *60);
TimeStamp += ((UINT64)Time.wDay * 24 * 60 *60);
TimeStamp += ((UINT64)Time.wHour * 60 * 60);
TimeStamp += ((UINT64)Time.wMinute * 60);
TimeStamp += Time.wSecond;
TimeStamp <<= 32;
TimeStamp += Time.wMilliseconds;
 
The value of `2024*12*31*24*60*60` is  65052979200, which is out of the range of 32bit.
_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#120578) | | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_