Skip to content

Commit

Permalink
fix potential buffer overrun
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-zimoch authored and mdavidsaver committed Mar 10, 2023
1 parent 81d79ec commit 581d100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testApp/remote/testServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++)
{
Expand Down

0 comments on commit 581d100

Please sign in to comment.