forked from enlightenment/enlightenment
bugfix: ensure null termination of string in xsettings config
CID 1039967
This commit is contained in:
parent
8b227c33b7
commit
cc8eb78352
|
@ -278,7 +278,7 @@ _fill_files_ilist(void *data)
|
|||
{
|
||||
char label[256];
|
||||
const char *value;
|
||||
ssize_t len = sizeof(label);
|
||||
ssize_t len = sizeof(label) - 1;
|
||||
|
||||
tmp += 1;
|
||||
value = eina_stringshare_add(tmp);
|
||||
|
|
Loading…
Reference in New Issue