forked from enlightenment/efl
eeze_mount binary: more secure check extension ('.iso' and not 'iso')
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D12123
This commit is contained in:
parent
2261332969
commit
ba3b082d06
|
@ -109,7 +109,7 @@ main(int argc, char *argv[])
|
|||
if (argc - args > 1)
|
||||
{
|
||||
eeze_disk_mount_point_set(disk, mount_point);
|
||||
if (eina_str_has_extension(dev, "iso"))
|
||||
if (eina_str_has_extension(dev, ".iso"))
|
||||
{
|
||||
int f;
|
||||
f = eeze_disk_mountopts_get(disk);
|
||||
|
|
Loading…
Reference in New Issue