MetaWear-SDK-Cpp icon indicating copy to clipboard operation
MetaWear-SDK-Cpp copied to clipboard

fix: favor snprintf over insecure sprintf

Open ricochet opened this issue 2 years ago • 0 comments

When building with clang and warnings, I bumped into a warning about a potential buffer overflow.

This is easily mitigated by changing to snprintf.

ricochet avatar Jul 05 '23 00:07 ricochet