- MMS client: parsing of servicecsSupported in MMS init response is off by one (LIB61850-419)(#469)

pull/476/head
Michael Zillgith 2 years ago
parent 23928b2b34
commit 27df38d205

@ -147,7 +147,7 @@ parseInitResponseDetail(MmsConnection self, uint8_t* buffer, int bufPos, int max
int i; int i;
for (i = 0; i < 11; i++) for (i = 0; i < 11; i++)
self->parameters.servicesSupported[i] = buffer[bufPos + i]; self->parameters.servicesSupported[i] = buffer[bufPos + i + 1]; /* add 1 to skip padding */
} }
break; break;

Loading…
Cancel
Save