mirror of
https://github.com/falk-werner/webfuse
synced 2025-06-13 12:54:15 +00:00
fixes flase positive from Flawfinder
This commit is contained in:
parent
0311bfff1d
commit
0bb369caca
@ -66,7 +66,7 @@ static bool wf_impl_filesystem_get_first_subdir(
|
|||||||
if ((DT_DIR == entry->d_type) && ('.' != entry->d_name[0]))
|
if ((DT_DIR == entry->d_type) && ('.' != entry->d_name[0]))
|
||||||
{
|
{
|
||||||
buffer[0] = '\0';
|
buffer[0] = '\0';
|
||||||
strncat(buffer, entry->d_name, buffer_size);
|
strncat(buffer, entry->d_name, buffer_size); /* Flawfinder: ignore */
|
||||||
result = true;
|
result = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user