Skip to content

Commit

Permalink
Fix overflow error for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lpbeliveau-silabs authored and pull[bot] committed Aug 2, 2023
1 parent 1ab3b07 commit 1073435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/tests/TestExtensionFieldSets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ void TestInsertExtensionFieldSet(nlTestSuite * aSuite, void * aContext)
scenes::ExtensionFieldSet tempEFS;

uint8_t empty_buffer[scenes::kMaxFieldBytesPerCluster] = { 0 };
uint8_t double_size_buffer[scenes::kMaxFieldBytesPerCluster * 2];
uint8_t double_size_buffer[scenes::kMaxFieldBytesPerCluster + 1];
ByteSpan bufferSpan(double_size_buffer);

memset(double_size_buffer, static_cast<uint8_t>(1), sizeof(double_size_buffer));
Expand Down

0 comments on commit 1073435

Please sign in to comment.