diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-01-20 17:33:49 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-01-20 19:08:33 +0000 |
commit | 960acbfdee1bcd2053a84c95f1c7ed046d3ade23 (patch) | |
tree | 4794d5f5fb50cfe0753d4764c6c47208f5e15285 /qadevOOo | |
parent | e172d2e300e600d53975a39161ceed0c7158e1e0 (diff) |
coverity#1326387 Dereference null return value
Change-Id: I150d3df8926a547b8ecf4324303dc4520ee2e899
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/runner/util/utils.java | 2 |
1 files changed, 1 insertions, 1 deletions
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()) { |