Skip to content

Commit 4c32cfb

Browse files
authored
[C++] small test fix (#980)
1 parent fae3e45 commit 4c32cfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sbe-tool/src/test/cpp/FieldAccessOrderCheckTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3624,7 +3624,7 @@ TEST_F(FieldAccessOrderCheckTest, allowsEncodingAndDecodingAsciiInsideGroupInSch
36243624
AsciiInsideGroup::sbeSchemaVersion(),
36253625
BUFFER_LEN
36263626
);
3627-
char aOut[6];
3627+
char aOut[7] = {'\0'};
36283628
decoder.getA(aOut, 6);
36293629
EXPECT_STREQ(aOut, "GBPUSD");
36303630
AsciiInsideGroup::B &b = decoder.b();

0 commit comments

Comments
 (0)