Files
ResInsight/ApplicationLibCode/UserInterface
Magne Sjaastad 593f27dcf4 Guard against null case and view when painting overlay and creating intersections
Four crashes reported from release builds share the same shape: a pointer that
is null during teardown or before a view is fully created is dereferenced
without a check.

RiuViewer::paintOverlayItems() used the owner case of the view and of the
comparison view without checking it, and dereferenced the result of a
dynamic_cast directly. The owner case is null while a case is being closed.

RicIntersectionFeatureImpl::createIntersectionBoxSlize() checked
activeMainOrComparisonGridView() but dereferenced activeGridView(), which is a
different object and can be null or have no viewer.

RimEclipseContourMapView::onCreateDisplayModel() called viewer()->mainCamera()
before the viewer exists.

RimCorrelationPlotCollection::applyFirstEnsembleFieldAddressesToPlot() called
front() on the ensemble parameter vector, which is empty for an ensemble
without realization parameters.
2026-08-07 12:21:41 +02:00
..
2026-06-17 13:55:32 +02:00
2026-06-17 13:55:32 +02:00
2021-04-15 08:00:07 +02:00
2023-10-03 09:04:08 +02:00
2026-06-17 13:55:32 +02:00
2026-06-17 13:55:32 +02:00
2023-04-14 14:07:45 +02:00
2026-06-17 13:55:32 +02:00
2026-06-17 13:55:32 +02:00
2025-03-14 14:03:09 +01:00
2024-03-07 19:45:43 +01:00
2022-07-07 12:03:02 +02:00
2021-04-15 08:00:07 +02:00
2022-11-01 08:00:51 +01:00
2026-06-17 13:55:32 +02:00
2023-09-15 13:59:58 +02:00
2022-07-07 12:03:02 +02:00
2025-02-25 14:58:33 +01:00
2024-09-16 09:49:22 +02:00
2024-09-16 09:49:22 +02:00
2026-06-17 13:55:32 +02:00
2024-09-02 13:58:00 +02:00