]> Kevux Git Server - fll/commit
Bugfix: The f_string_dynamic_strip_null() memmove()'s out of range.
authorKevin Day <kevin@kevux.org>
Fri, 9 Feb 2024 02:46:14 +0000 (20:46 -0600)
committerKevin Day <kevin@kevux.org>
Fri, 9 Feb 2024 02:59:31 +0000 (20:59 -0600)
commit370fe971a47fb7048ede4b3f27f7f970a8b78f84
tree48b6f8004a20e37bd6c6cd2f402b0364bbc2d27a
parentf2c69d03e97004cf72d1a0025dba0741c1dad6ec
Bugfix: The f_string_dynamic_strip_null() memmove()'s out of range.

The i is a position rather than the total count.
Add 1 to the i.

This will need unit tests written to better catch these problems.
level_0/f_string/c/string/dynamic.c