Replace `strlen()` with `strnlen()`, and similarly for other `str*` family functions. Inspired by: https://github.com/d-e-s-o/nitrocli/issues/85
Replace
strlen()withstrnlen(), and similarly for otherstr*family functions.Inspired by: d-e-s-o/nitrocli#85