mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 14:40:26 -05:00
#14778 Fix crashes from unguarded pointer and index accesses
* Skip deleted plot widgets in RiuMultiPlotBook::visiblePlotWidgets * Guard missing calculation in detectCyclicCalculation * Guard invalid node index in RigFemPart node lookups * Guard null well path in RimWellLogExtractionCurve::extractGeomData * Guard unopened case in RimGridCalculation::removeDependentObjects * Guard empty subset in createLateralAtMeasuredDepth
This commit is contained in:
1 parent
4d2a868079
commit
3437cf9b94
12 files changed
+129
-14
No files matched your search
@@ -621,7 +621,7 @@ RimWellLogExtractionCurve::WellLogExtractionCurveData
|
||||
if ( maxDistanceBetweenCurvePoints.has_value() && maxDistanceBetweenCurvePoints.value() > 0.0 )
|
||||
{
|
||||
RigGeoMechCaseData* caseData = geoMechCase->geoMechData();
|
||||
auto wellPathGeometry = m_wellPath->wellPathGeometry();
|
||||
auto wellPathGeometry = m_wellPath ? m_wellPath->wellPathGeometry() : nullptr;
|
||||
if ( caseData && wellPathGeometry )
|
||||
{
|
||||
std::string errorIdName = ( m_wellPath->name() + " " + geoMechCase->caseUserDescription() ).toStdString();
|
||||
|
||||
Reference in new issue
Block a user