Fix invalid memory access in unit-tests
This commit is contained in:
parent
aad4612387
commit
610be9ac20
|
@ -178,7 +178,7 @@ UnitTest test_json_parser{[]()
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
String big_nested_array = {"", max_parsing_depth*2+2};
|
String big_nested_array{' ', CharCount{max_parsing_depth*2+2}};
|
||||||
for (size_t i = 0; i < max_parsing_depth+1; i++)
|
for (size_t i = 0; i < max_parsing_depth+1; i++)
|
||||||
{
|
{
|
||||||
big_nested_array[i] = '[';
|
big_nested_array[i] = '[';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user