Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use snprintf and strncpy in place of sprintf and strcpy
This is both good practice and nice for OpenBSD users, who will no longer get the nag message to not use sprintf/strcpy every time they link against jansson. It's worth noting that the existing code seems safe to me - bounds checks were already happening before the actual calls - and that this is for extra security.
- Loading branch information