]> Kevux Git Server - fll/commit
Bugfix: The fl_string parsing functions do not check buffer.used.
authorKevin Day <kevin@kevux.org>
Mon, 27 Mar 2023 12:33:28 +0000 (07:33 -0500)
committerKevin Day <kevin@kevux.org>
Mon, 27 Mar 2023 12:33:28 +0000 (07:33 -0500)
commit5f1e938fcc9a54a8290c9afd0a1e58ec93971c52
tree35f818ed6b107ed145ebdb7f41be48bf3b3b5aba
parent362c7b9f6cd57421a18c0148fb6eb9bda165bcd2
Bugfix: The fl_string parsing functions do not check buffer.used.

The range length is being performed but not the buffer used length.
Add the appropriate return codes to represent end of string (buffer used length is reached).
This is applicable for the dynamic strings but is not applicable for the regular strings.

Do some code clean up while I am at it.
level_1/fl_string/c/string.c
level_1/fl_string/c/string.h