there's a memset with mixed arguments
Quote
...
bool CClientCreditsList::Debug_CheckCrypting()
{
...
uchar pachSignature[200];
memset(pachSignature,200,0);
...
}
...
bool CClientCreditsList::Debug_CheckCrypting()
{
...
uchar pachSignature[200];
memset(pachSignature,200,0);
...
}
...
should be
Quote
...
bool CClientCreditsList::Debug_CheckCrypting()
{
...
uchar pachSignature[200];
memset(pachSignature,0,200); // Avi3k: fixed args order
...
}
...
bool CClientCreditsList::Debug_CheckCrypting()
{
...
uchar pachSignature[200];
memset(pachSignature,0,200); // Avi3k: fixed args order
...
}
...
another way to set the array to zero will be
Quote
uchar pachSignature[200]={0};
Avi3k