mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
audit_logging: Fix CID 1435739 Dereference null return value
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
ca01643c92
commit
8b013aa31b
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user