- fixed wrong buffer size in client side report handling

pull/396/head
Michael Zillgith 3 years ago
parent 35ac479430
commit a9efd32dbc

@ -383,7 +383,7 @@ iedConnection_handleReport(IedConnection self, MmsValue* value)
while (element != NULL) { while (element != NULL) {
ClientReport report = (ClientReport) element->data; ClientReport report = (ClientReport) element->data;
char defaultRptId[129]; char defaultRptId[130];
char* rptId = report->rptId; char* rptId = report->rptId;
if ((rptId == NULL) || (rptId && (strlen(rptId) == 0))) { if ((rptId == NULL) || (rptId && (strlen(rptId) == 0))) {

Loading…
Cancel
Save