9a0c37807b
- uri is expected to be nul-terminated (strchr used later), so use strlcpy instead of strncpy. - replace the other two cases of strncpy+\0 with strlcpy. |
||
---|---|---|
.. | ||
main.c | ||
Makefile | ||
tftp.1 | ||
tftp.c | ||
tftp.h |
9a0c37807b
- uri is expected to be nul-terminated (strchr used later), so use strlcpy instead of strncpy. - replace the other two cases of strncpy+\0 with strlcpy. |
||
---|---|---|
.. | ||
main.c | ||
Makefile | ||
tftp.1 | ||
tftp.c | ||
tftp.h |