mirror of
https://github.com/TokTok/c-toxcore
synced 2026-07-18 07:36:12 +00:00
Use of `strcpy` in these particular cases was safe, but it's hard to tell and also useless. `strcpy` would effectively need to do another `strlen` which we already did. Also removed sprintf, which was also safe in this case but it's easier to be "obviously safe", especially for static analysers.