prevent crash if info.node_table has not been defined,

caused by some preceding error.
This commit is contained in:
Holger Vogt 2021-09-22 16:19:37 +02:00
parent 93f904fb0b
commit d4c559421e
1 changed files with 2 additions and 0 deletions

View File

@ -106,6 +106,8 @@ struct dvec *EVTfindvec(
return(NULL);
if(! g_mif_info.ckt->evt)
return(NULL);
if(! g_mif_info.ckt->evt->info.node_table)
return(NULL);
if(g_mif_info.ckt->evt->counts.num_nodes == 0)
return(NULL);