diff options
author | Volker Lendecke <vl@samba.org> | 2018-05-22 13:20:17 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2018-05-24 00:43:51 +0200 |
commit | 8b013aa31bf8942fcc46f75d5ffdbcbebf8e7b1b (patch) | |
tree | c63e5da012bc698f39d2eb8d63934e4a6354d01a /lib/audit_logging | |
parent | ca01643c92a2f96268a39ac27ba2b1ed3422dede (diff) | |
download | samba-8b013aa31bf8942fcc46f75d5ffdbcbebf8e7b1b.tar.gz |
audit_logging: Fix CID 1435739 Dereference null return value
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/audit_logging')
-rw-r--r-- | lib/audit_logging/tests/audit_logging_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/audit_logging/tests/audit_logging_test.c b/lib/audit_logging/tests/audit_logging_test.c index 9ba71fb60d7..8385e9ce363 100644 --- a/lib/audit_logging/tests/audit_logging_test.c +++ b/lib/audit_logging/tests/audit_logging_test.c @@ -519,6 +519,7 @@ static void test_audit_get_timestamp(void **state) struct tm tz; c = strptime(c, " %Z", &tz); } + assert_non_null(c); assert_int_equal(0, strlen(c)); actual = mktime(&tm); |