diff options
author | Bui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com> | 2020-06-05 13:38:58 +0700 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2020-07-06 10:04:07 +0900 |
commit | a87459506604d6d1346418c44f4fdd8dab132d6c (patch) | |
tree | 5e38be761158c1a029a83c6b8a46a719c5774395 /tests/gtest_dlt_daemon_offline_log.cpp | |
parent | d49e8e3365dfc13c85506c0ff8686a708fd79f09 (diff) | |
download | DLT-daemon-a87459506604d6d1346418c44f4fdd8dab132d6c.tar.gz |
UT: Fix segfault in logstorage test
Signed-off-by: Bui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com>
Diffstat (limited to 'tests/gtest_dlt_daemon_offline_log.cpp')
-rw-r--r-- | tests/gtest_dlt_daemon_offline_log.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gtest_dlt_daemon_offline_log.cpp b/tests/gtest_dlt_daemon_offline_log.cpp index 80f7e53..f37c63a 100644 --- a/tests/gtest_dlt_daemon_offline_log.cpp +++ b/tests/gtest_dlt_daemon_offline_log.cpp @@ -512,6 +512,7 @@ TEST(t_dlt_logstorage_device_disconnected, normal) DltLogStorage handle; int reason = 0; handle.config_status = 0; + handle.newest_file_list = NULL; EXPECT_EQ(DLT_RETURN_OK, dlt_logstorage_device_disconnected(&handle, reason)); } |