Skip to content

Commit

Permalink
馃洜 Attempt to defend against overwrite.
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePhD committed Oct 7, 2022
1 parent 6dc980d commit 5173d67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ztd/text/impl/execution_cuchar.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ namespace ztd { namespace text {
}
}

code_unit __intermediary_input[max_code_units] {};
code_unit __intermediary_input[max_code_units * 2] {};
#if ZTD_IS_ON(ZTD_PLATFORM_WINDOWS) && ZTD_IS_OFF(ZTD_COMPILER_MINGW)
__intermediary_input[0] = *__in_it;
ranges::advance(__in_it);
Expand Down

0 comments on commit 5173d67

Please sign in to comment.