forked from len0rd/rockbox
strlcpy finish cleanup
remove strlcpy & strlcat from string.h document suspicious strlcpy call convert strlcat.h users to string-extra Change-Id: I313e75db86385c0e6d1aee75d252093be4935f60
This commit is contained in:
parent
0b7a387671
commit
972810f6cf
7 changed files with 6 additions and 9 deletions
|
@ -227,6 +227,7 @@ void iso_decode_d_name(char *d_name)
|
|||
return;
|
||||
|
||||
char shortname[13];
|
||||
/* this only gets called in the case of DOS (8.3) filenames */
|
||||
size_t len = strlcpy(shortname, d_name, sizeof (shortname));
|
||||
/* This MUST be the default codepage thus not something that could be
|
||||
loaded on call */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue