mirror of
https://github.com/TokTok/c-toxcore
synced 2026-11-04 08:37:41 +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.