From 581d100a029e6f68f3c1830b90509b3ee5ebd7a0 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Fri, 10 Mar 2023 12:02:30 +0100 Subject: [PATCH] fix potential buffer overrun --- testApp/remote/testServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testApp/remote/testServer.cpp b/testApp/remote/testServer.cpp index 37ee9ac5..2e0c157a 100644 --- a/testApp/remote/testServer.cpp +++ b/testApp/remote/testServer.cpp @@ -266,7 +266,7 @@ static epics::pvData::PVStructure::shared_pointer createNTTable(int columnsCount { StringArray fieldNames(columnsCount); FieldConstPtrArray fields(columnsCount); - char sbuf[16]; + char sbuf[20]; PVStringArray::svector labels(columnsCount); for (int i = 0; i < columnsCount; i++) {