Skip to content

Commit 581d100

Browse files
dirk-zimochmdavidsaver
authored andcommitted
fix potential buffer overrun
1 parent 81d79ec commit 581d100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testApp/remote/testServer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ static epics::pvData::PVStructure::shared_pointer createNTTable(int columnsCount
266266
{
267267
StringArray fieldNames(columnsCount);
268268
FieldConstPtrArray fields(columnsCount);
269-
char sbuf[16];
269+
char sbuf[20];
270270
PVStringArray::svector labels(columnsCount);
271271
for (int i = 0; i < columnsCount; i++)
272272
{

0 commit comments

Comments
 (0)