Skip to content

Commit 1224152

Browse files
lpbeliveau-silabspull[bot]
authored andcommitted
Fix overflow error for CI
1 parent 4d6fdd8 commit 1224152

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/tests/TestExtensionFieldSets.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ void TestInsertExtensionFieldSet(nlTestSuite * aSuite, void * aContext)
6363
scenes::ExtensionFieldSet tempEFS;
6464

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

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

0 commit comments

Comments
 (0)