forked from apache/nuttx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fs/hostfs: Replace strcpy with memcpy
The strcpy function is dangerous because it does not check the length of the Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
- Loading branch information
1 parent
f7adb52
commit 45405f8
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters