diff --git a/src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx b/src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx index 49c645f47..6952acfd7 100644 --- a/src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx +++ b/src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx @@ -124,6 +124,8 @@ DriverMED_R_SMESHDS_Mesh // Reading MED nodes to the corresponding SMDS structure //------------------------------------------------------ PNodeInfo aNodeInfo = aMed->GetPNodeInfo(aMeshInfo); + if ( !aNodeInfo ) + return DRS_FAIL; PCoordHelper aCoordHelper = GetCoordHelper(aNodeInfo);