summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2020-08-31 13:54:53 +0000
committerStefan Schmidt <stefan@datenfreihafen.org>2020-09-01 09:35:49 +0200
commitba3b082d06b4ddea834e08d1c79d291ac6c3df0e (patch)
tree659b08616c9052a464cdd42453f753cab7321b84
parent2261332969b6e97aa302ee1663b3626c7378d9ad (diff)
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
-rw-r--r--src/bin/eeze/eeze_mount/eeze_mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/eeze/eeze_mount/eeze_mount.c b/src/bin/eeze/eeze_mount/eeze_mount.c
index 04c644f4ef..9e9dd16cdd 100644
--- a/src/bin/eeze/eeze_mount/eeze_mount.c
+++ b/src/bin/eeze/eeze_mount/eeze_mount.c
@@ -109,7 +109,7 @@ main(int argc, char *argv[])
109 if (argc - args > 1) 109 if (argc - args > 1)
110 { 110 {
111 eeze_disk_mount_point_set(disk, mount_point); 111 eeze_disk_mount_point_set(disk, mount_point);
112 if (eina_str_has_extension(dev, "iso")) 112 if (eina_str_has_extension(dev, ".iso"))
113 { 113 {
114 int f; 114 int f;
115 f = eeze_disk_mountopts_get(disk); 115 f = eeze_disk_mountopts_get(disk);