Files
OrcaSlicer/src/libslic3r
Kris Austin ac3997c0d1 fix: bounds-check the toolchange flush-volume and HRC per-filament lookups (#15289)
* fix: bounds-check the toolchange flush-volume and HRC per-filament lookups

GCode::set_extruder's toolchange flush-volume lookup and
GCodeProcessor::update_slice_warnings's HRC check index per-filament and
per-extruder arrays (flush_volumes_matrix, the filament map, the nozzle list)
by filament/extruder id. When a config leaves one of those arrays shorter than
the filament count (partial or legacy multi-extruder projects, minimal
configs), the reads run off the end: silent on a normal STL, a hard abort under
_GLIBCXX_ASSERTIONS.

Route both reads through bounds checks: the flush lookup falls back to no flush,
matching the existing unknown-old-filament branch beside it, and the HRC check
skips an unmapped filament, mirroring the required_nozzle_HRC guard on the line
above. When the arrays are sized to the filament count the values are unchanged,
so correctly-specified configs are unaffected.

* ci: retrigger checks
2026-09-15 09:46:31 -03:00
..
2024-10-05 21:53:16 +03:00
2026-06-18 09:13:51 -03:00
2026-08-23 22:43:41 +08:00
2026-08-04 21:56:15 +08:00
2023-08-08 19:08:13 +08:00
2026-03-13 02:12:10 -07:00
2023-12-01 10:42:45 +00:00
2022-07-15 23:42:08 +08:00
2022-07-15 23:42:08 +08:00
2022-07-15 23:42:08 +08:00
2025-06-14 21:05:25 +08:00
2025-10-28 15:29:47 +08:00
2023-08-08 19:08:13 +08:00
2026-03-24 09:18:38 -07:00
2026-03-24 09:18:38 -07:00
2024-01-26 20:18:10 +08:00
2026-08-23 22:11:48 +08:00
2022-07-15 23:42:08 +08:00
2026-08-23 22:11:48 +08:00
2023-07-07 17:25:51 +08:00
2023-12-01 10:42:45 +00:00
2024-05-12 23:35:41 +08:00
2026-03-24 09:18:38 -07:00
2025-09-18 17:08:18 +08:00
2025-09-18 17:08:18 +08:00
2026-09-03 10:55:01 +08:00
2025-12-08 22:42:11 +08:00
2022-07-15 23:42:08 +08:00
2026-03-13 01:56:51 -07:00
2026-07-02 17:49:36 +08:00
2026-07-02 17:49:36 +08:00
2026-03-13 01:56:51 -07:00
2026-05-04 15:52:34 +08:00
2026-03-13 01:56:51 -07:00
2025-12-08 22:42:11 +08:00
2026-05-10 02:21:13 +08:00
2022-07-15 23:42:08 +08:00
2026-07-27 19:52:29 -03:00
2026-07-27 19:52:29 -03:00
2022-07-15 23:42:08 +08:00
2026-01-29 19:19:37 +08:00
2026-01-23 17:05:56 +08:00
2025-12-08 22:42:11 +08:00
2025-12-08 22:42:11 +08:00
2022-07-15 23:42:08 +08:00
2022-07-15 23:42:08 +08:00