mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-19 05:58:06 +01:00
Should fix the 'crash' bug related to input > 2 kb, as well as fix the mobile deletion crash bug, also a small memory leak plugged
This commit is contained in:
parent
2aed18ba52
commit
870bb8ef38
5 changed files with 47 additions and 3 deletions
|
|
@ -419,6 +419,8 @@ void ProtocolInput( descriptor_t *apDescriptor, char *apData, int aSize, char *a
|
|||
{
|
||||
const char *pClientName = pProtocol->pVariables[eMSDP_CLIENT_ID]->pValueString;
|
||||
|
||||
InfoMessage(apDescriptor, "Receiving MXP Version From Client.\r\n");
|
||||
|
||||
free(pProtocol->pVariables[eMSDP_CLIENT_VERSION]->pValueString);
|
||||
pProtocol->pVariables[eMSDP_CLIENT_VERSION]->pValueString = AllocString(pMXPTag);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue