Fix crash that can happen in menu_action_setting_disp_set_label_entry
This commit is contained in:
parent
f84f829957
commit
e9afd53351
|
@ -1056,6 +1056,7 @@ static void menu_action_setting_disp_set_label_entry(
|
||||||
{
|
{
|
||||||
*s = '\0';
|
*s = '\0';
|
||||||
*w = 8;
|
*w = 8;
|
||||||
|
if (!string_is_empty(path))
|
||||||
strlcpy(s2, path, len2);
|
strlcpy(s2, path, len2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue