fix: strncpy reads out of bounds #52
Reference in New Issue
Block a user
Delete Branch "strncpy_oob_fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There are several out of bounds strncpy calls. This commit fixes them. On gcc 8.3.0 the SDK does not compile without this fix and gives the error:
among other errors of similar nature.
There are a few similar cases elsewhere, although they only produce warnings. I didn't investigate them in detail, but here are the warnings: