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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user