Another protocol ID which escaped

This commit is contained in:
2015-05-11 14:47:19 +02:00
parent bb7eb497de
commit e73743a97c

View File

@ -1086,7 +1086,7 @@ int SCPureSockWrite(SConnection * self, char *buffer, int iOut)
return 0;
}
if(self->iProtocolID == 4) {
if(self->iProtocolID == PROTACT) {
if (strlen(buffer) + 30 > 1024) {
pPtr = (char *) malloc((strlen(buffer) + 30) * sizeof(char));
memset(pPtr, 0, strlen(buffer) + 20);