From a9efd32dbc963dca78f19e95f4f10a37eb03166b Mon Sep 17 00:00:00 2001 From: Michael Zillgith Date: Wed, 1 Jun 2022 15:15:19 +0200 Subject: [PATCH] - fixed wrong buffer size in client side report handling --- src/iec61850/client/client_report.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iec61850/client/client_report.c b/src/iec61850/client/client_report.c index ec6cd5db..e1448310 100644 --- a/src/iec61850/client/client_report.c +++ b/src/iec61850/client/client_report.c @@ -383,7 +383,7 @@ iedConnection_handleReport(IedConnection self, MmsValue* value) while (element != NULL) { ClientReport report = (ClientReport) element->data; - char defaultRptId[129]; + char defaultRptId[130]; char* rptId = report->rptId; if ((rptId == NULL) || (rptId && (strlen(rptId) == 0))) {