mlibc
mlibc copied to clipboard
memset_s like BSD
Hello Would be great to see the Annex K safe functions added, or at least the easy ones such as memset_s like BSD has https://man.freebsd.org/cgi/man.cgi?query=memset_s&sektion=3
These are the simplest to support and avoid thousands of security vulnerabilities their non bounds safe versions have caused.
memset_s, memcpy_s, memmove_s, strcpy_s, strncpy_s, strcat_s
Jonny
While we do not have any Annex K functionality yet, we would open to contributions in that area. If you want to provide an implementation, feel free to submit a PR.