Details
Description
char* szLogBookEntry = "SvcCbNoRes("; szLogBookEntry[11] = (char)(eType + 0x30); szLogBookEntry[12] = ')'; szLogBookEntry[13] = '\0'; eip_gci_loogbook_entry(&ptRsc->tStackInterface, szLogBookEntry);
Write access the constant, read-only string szLogBookEntry behind its defined memory area causes an exception. Should rather be sth. like:
char szLogBookEntry[14]; memcpy(szLogBookEntry, "SvcCbNoRes(", 11); szLogBookEntry[11] = (char)(eType + 0x30); szLogBookEntry[12] = ')'; szLogBookEntry[13] = '\0'; eip_gci_loogbook_entry(&ptRsc->tStackInterface, szLogBookEntry);