From 6099749e16e09221e675997fe45b8221eec6610d Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Mon, 4 Oct 2010 13:36:32 +0900 Subject: [PATCH] [SVN 51575 Merge] Changeset 51575 Timestamp: 08/23/10 07:44:04 (6 weeks ago) Author: cedric Message: edje: prevent segv when no param is given to edje_convert. Files: 1 modified trunk/edje/src/bin/edje_convert_main.c (1 diff) --- src/bin/edje_convert_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/edje_convert_main.c b/src/bin/edje_convert_main.c index b241d77..da2189c 100644 --- a/src/bin/edje_convert_main.c +++ b/src/bin/edje_convert_main.c @@ -128,7 +128,7 @@ main(int argc, char **argv) eet_init(); progname = argv[0]; - if (argc > 2 || !strcmp(argv[1], "-h")) + if (argc > 2 || argc < 2 || !strcmp(argv[1], "-h")) { main_help(); return 0; -- 2.7.4