Magne Sjaastad
7d977ac522
#14116 GeoMech: fix out-of-bounds crash mapping step index to time step
...
stepListIndexToTimeStepAndDataFrameIndex only guarded against negative indices, relying on a CVF_ASSERT for the upper bound. That assert is compiled out in release builds, so when a GeoMech case has no steps loaded (empty m_stepList) the clamped current time step of 0 caused an out-of-bounds read of m_stepList[0]. Extend the early-return guard to also cover indices past the end, returning the existing (stepIndex, -1) sentinel.
2026-06-04 16:07:27 +02:00
..
2026-02-18 09:22:39 +01:00
2023-08-23 13:29:54 +02:00
2023-08-23 13:29:54 +02:00
2023-02-26 10:48:40 +01:00
2021-01-11 15:27:45 +01:00
2021-01-11 15:27:45 +01:00
2025-06-17 14:43:47 +02:00
2021-01-11 15:27:45 +01:00
2023-02-26 10:48:40 +01:00
2025-06-17 14:43:47 +02:00
2026-04-14 14:56:43 +02:00
2026-04-14 14:56:43 +02:00
2025-09-03 14:21:19 +02:00
2024-01-03 13:00:09 +01:00
2026-04-14 14:56:43 +02:00
2026-04-14 14:56:43 +02:00
2021-01-11 15:27:45 +01:00
2021-01-11 15:27:45 +01:00
2023-08-23 13:29:54 +02:00
2021-04-15 08:00:07 +02:00
2025-09-03 14:21:19 +02:00
2021-04-15 08:00:07 +02:00
2023-02-26 10:48:40 +01:00
2021-04-15 08:00:07 +02:00
2023-02-26 10:48:40 +01:00
2021-04-15 08:00:07 +02:00
2023-12-14 08:46:41 +01:00
2021-04-15 08:00:07 +02:00
2023-04-13 07:05:53 +02:00
2021-04-15 08:00:07 +02:00
2023-02-26 10:48:40 +01:00
2021-04-15 08:00:07 +02:00
2023-02-26 10:48:40 +01:00
2021-04-15 08:00:07 +02:00
2023-12-14 08:46:41 +01:00
2023-01-18 14:42:33 +01:00
2023-12-14 08:46:41 +01:00
2021-04-15 08:00:07 +02:00
2023-02-26 10:48:40 +01:00
2022-12-07 09:28:57 +01:00
2024-10-31 15:08:59 +01:00
2023-04-13 07:05:53 +02:00
2023-02-26 10:48:40 +01:00
2021-04-15 08:00:07 +02:00
2023-05-22 11:37:57 +02:00
2023-05-22 11:37:57 +02:00
2023-12-14 08:46:41 +01:00
2021-04-15 08:00:07 +02:00
2023-12-14 08:46:41 +01:00
2021-04-15 08:00:07 +02:00
2023-12-14 08:46:41 +01:00
2021-04-15 08:00:07 +02:00
2023-12-14 08:46:41 +01:00
2021-04-15 08:00:07 +02:00
2023-12-14 08:46:41 +01:00
2021-04-15 08:00:07 +02:00
2023-12-14 08:46:41 +01:00
2021-04-15 08:00:07 +02:00
2023-04-13 07:05:53 +02:00
2021-10-22 13:00:26 +02:00
2023-02-26 10:48:40 +01:00
2021-04-15 08:00:07 +02:00
2023-02-26 10:48:40 +01:00
2021-04-15 08:00:07 +02:00
2023-04-13 07:05:53 +02:00
2021-04-15 08:00:07 +02:00
2023-12-14 08:46:41 +01:00
2021-04-15 08:00:07 +02:00
2024-10-31 15:08:59 +01:00
2021-04-15 08:00:07 +02:00
2023-02-26 10:48:40 +01:00
2021-04-15 08:00:07 +02:00
2023-04-13 07:05:53 +02:00
2021-04-15 08:00:07 +02:00
2023-02-26 10:48:40 +01:00
2021-04-15 08:00:07 +02:00
2023-12-14 08:46:41 +01:00
2021-04-15 08:00:07 +02:00
2023-02-26 10:48:40 +01:00
2021-04-15 08:00:07 +02:00
2023-02-26 10:48:40 +01:00
2021-04-15 08:00:07 +02:00
2023-08-23 13:29:54 +02:00
2021-04-15 08:00:07 +02:00
2021-04-06 21:04:31 +02:00
2021-01-11 15:27:45 +01:00
2026-06-04 16:07:27 +02:00
2026-02-27 14:17:21 +01:00
2023-09-27 10:16:37 +02:00
2021-01-11 15:27:45 +01:00
2023-08-16 07:09:06 +02:00
2023-01-18 14:42:33 +01:00
2023-12-14 08:46:41 +01:00
2023-12-14 08:46:41 +01:00
2025-05-30 08:38:51 +02:00
2024-10-31 15:08:59 +01:00
2023-02-26 10:48:40 +01:00
2023-02-26 10:48:40 +01:00
2021-10-07 11:28:54 +02:00
2025-03-14 11:48:32 +01:00
2025-03-14 11:48:32 +01:00