Re: [systemd-devel] [PATCH] analyze: fix seg-fault with no cl-argument

2014-07-26 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jul 24, 2014 at 11:29:40PM +0200, Daniel Buch wrote: We need to check if argv[1] is set before compare --- src/analyze/analyze.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c index 66e2aab..83da7f5 100644 ---

[systemd-devel] [PATCH] analyze: fix seg-fault with no cl-argument

2014-07-24 Thread Daniel Buch
We need to check if argv[1] is set before compare --- src/analyze/analyze.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c index 66e2aab..83da7f5 100644 --- a/src/analyze/analyze.c +++ b/src/analyze/analyze.c @@ -1349,7 +1349,7 @@