Closed Pharap closed 3 years ago
I don't have anything I can actually test these changes with, but logically using strncpy with the size of the destination buffer as the count argument should prevent buffer overflows.
strncpy
count
I don't have anything I can actually test these changes with, but logically using
strncpy
with the size of the destination buffer as thecount
argument should prevent buffer overflows.