commit | 0febc80396dc42c3ccc0af41522954504c5bb747 | [log] [tgz] |
---|---|---|
author | Janos Follath <janos.follath@arm.com> | Fri Jun 03 15:40:57 2016 +0100 |
committer | Janos Follath <janos.follath@arm.com> | Fri Jun 03 15:40:57 2016 +0100 |
tree | b74aeafd640cf230bb99fdd3e2534587965e3c46 | |
parent | 9fa2e86d93b9b6e04c0a797b34aaf7b6066fbb25 [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 );