#4966 tNav Crash on import : Guard null pointer access in flow diag library

This commit is contained in:
Magne Sjaastad
2019-11-02 07:37:24 +01:00
parent 32b5d7696d
commit 18eee02bb1

View File

@@ -71,6 +71,8 @@ namespace {
inline std::string
firstBlockKeyword(const ecl_file_view_type* block)
{
if (!block) return "";
return ecl_kw_get_header(ecl_file_view_iget_kw(block, 0));
}