You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, man
In dir_list_file function. when black list file exist and not empty, something wrong happend.
black_item var is local and memory on stack.
under code:
while (fgets(buf, lengthof(buf), black_list_file) != NULL)
{
join_path_components(black_item, pgdata, buf);
if (black_item[strlen(black_item) - 1] == '\n')
black_item[strlen(black_item) - 1] = '\0';
if (black_item[0] == '#' || black_item[0] == '\0')
continue;
parray_append(black_list, black_item);
}
when cycle > 2 then black_list will be the same thing。
The text was updated successfully, but these errors were encountered:
Hi, man
In dir_list_file function. when black list file exist and not empty, something wrong happend.
black_item var is local and memory on stack.
The text was updated successfully, but these errors were encountered: