[mutter/wip/wayland-display: 58/65] [NOT FOR REVIEW] [SECURITY BUG] Allow spawning anything with mutter-launch
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/wayland-display: 58/65] [NOT FOR REVIEW] [SECURITY BUG] Allow spawning anything with mutter-launch
- Date: Wed, 14 Aug 2013 16:48:24 +0000 (UTC)
commit a8425496ad982369a2cdc44bef36f6fd7ab4c5b4
Author: Giovanni Campagna <gcampagn redhat com>
Date: Thu Aug 8 17:25:30 2013 +0200
[NOT FOR REVIEW] [SECURITY BUG] Allow spawning anything with mutter-launch
src/wayland/weston-launch.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/wayland/weston-launch.c b/src/wayland/weston-launch.c
index b38386e..fb05075 100644
--- a/src/wayland/weston-launch.c
+++ b/src/wayland/weston-launch.c
@@ -637,7 +637,7 @@ main(int argc, char *argv[])
if (strcmp (argv[optind], "mutter") &&
strcmp (argv[optind], "gnome-shell") &&
- strcmp (argv[optind], "gnome-shell-real"))
+ strcmp (argv[optind], "gnome-shell-real") && 0)
error(1, 0, "mutter-launch can only be used to launch mutter or gnome-shell");
if (wl.new_user)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]