1
0
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:
Falk Werner 2019-04-14 19:36:51 +02:00
parent 0311bfff1d
commit 0bb369caca

View File

@ -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;
} }