Skip to content

Commit

Permalink
[VT]: Fix an OOB write when loading a stored object pool version
Browse files Browse the repository at this point in the history
  • Loading branch information
ad3154 committed Dec 31, 2022
1 parent 9a8e389 commit ed58ba2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion isobus/src/isobus_virtual_terminal_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1708,7 +1708,6 @@ namespace isobus
tempVersionBuffer[4] = ' ';
tempVersionBuffer[5] = ' ';
tempVersionBuffer[6] = ' ';
tempVersionBuffer[7] = ' ';

for (std::size_t i = 0; ((i < VERSION_LABEL_LENGTH) && (i < objectPools[0].versionLabel.size())); i++)
{
Expand Down

0 comments on commit ed58ba2

Please sign in to comment.