mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-01 03:37:15 -06:00
#4966 tNav Crash on import : Guard null pointer access in flow diag library
This commit is contained in:
parent
32b5d7696d
commit
18eee02bb1
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user