commit | 8eb64132da7ee43a7bcceebca050312b3a301b8f | [log] [tgz] |
---|---|---|
author | Janos Follath <janos.follath@arm.com> | Fri Jun 03 15:40:57 2016 +0100 |
committer | Simon Butcher <simon.butcher@arm.com> | Thu Jun 09 13:41:28 2016 +0100 |
tree | d5b6d58f0d5cb4d995a48576c7a07f7a541bd27b | |
parent | c568762a5c3b09fb1e6f263f832b7486db542a86 [diff] [blame] |
Address issues find by manual coverity scan.
diff --git a/library/debug.c b/library/debug.c index a032478..a9cd814 100644 --- a/library/debug.c +++ b/library/debug.c
@@ -86,7 +86,7 @@ char str[DEBUG_BUF_SIZE]; int ret; - if( ssl->conf == NULL || ssl->conf->f_dbg == NULL || level > debug_threshold ) + if( NULL == ssl || NULL == ssl->conf || NULL == ssl->conf->f_dbg || level > debug_threshold ) return; va_start( argp, format );