From 960acbfdee1bcd2053a84c95f1c7ed046d3ade23 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 20 Jan 2016 17:33:49 +0000 Subject: coverity#1326387 Dereference null return value Change-Id: I150d3df8926a547b8ecf4324303dc4520ee2e899 --- qadevOOo/runner/util/utils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qadevOOo/runner') diff --git a/qadevOOo/runner/util/utils.java b/qadevOOo/runner/util/utils.java index 3acbb556cfd5..914b0664e6b4 100644 --- a/qadevOOo/runner/util/utils.java +++ b/qadevOOo/runner/util/utils.java @@ -82,7 +82,7 @@ public class utils { } }); - if (list[0] != null) { + if (list != null && list[0] != null) { String tDoc = srcRoot.concat(pthSep).concat(list[0]).concat(pthSep).concat("testdocs"); if (new File(tDoc).exists()) { -- cgit