Franke Burgarino
d774535fe9
Fix reverse iterator issue caught by ASAN
...
This issue could be seen when dragging an arrangement marker beyond the
bottom of the list in the right edge.
IIUC, std::reverse_iterator<Iter>::operator* creates a temporary iterator
which it then dereferences. This is a problem because what we are
derefencing is a Gtk::TreeIter<Gtk::TreeRow>. gtkmm documentation for
Gtk::TreeIter< T >::operator* states, "The returned reference is
implemented by casting from *this, and so the returned reference is only
valid while this iter is." Additionally, cpp documentation for
std::reverse_iterator states, "std::reverse_iterator does not work with
iterators whose dereference returns a reference to a member of *this."
We also are not advancing this iterator at all, so whether it is reverse
or not is irrelevant (we just want the last one). Thus, *prev(rows.end ())
instead of *rows.rbegin ().
2026-01-09 14:19:29 -06:00
..
2026-01-03 15:22:48 +01:00
2026-01-09 19:19:38 +01:00
2026-01-01 13:51:50 +01:00
2025-12-14 23:46:57 +01:00
2025-12-14 23:46:57 +01:00
2025-12-14 23:46:57 +01:00
2025-12-14 23:46:57 +01:00
2025-11-20 13:53:05 -06:00
2025-11-18 11:30:58 -07:00
2025-11-25 16:31:10 +01:00
2026-01-01 23:05:41 +01:00
2025-11-25 16:31:10 +01:00
2025-11-18 11:30:58 -07:00
2025-11-24 21:07:53 +01:00
2026-01-08 17:24:59 +01:00
2025-11-21 22:39:14 -07:00
2025-12-14 23:46:57 +01:00
2025-12-14 23:46:57 +01:00
2025-11-18 11:30:58 -07:00
2025-12-01 20:48:35 -07:00
2025-12-01 15:32:47 -07:00
2025-12-01 15:32:47 -07:00
2025-11-18 13:08:59 -07:00
2025-11-30 11:07:42 -07:00
2025-11-19 23:13:26 +01:00
2025-11-19 23:13:26 +01:00
2026-01-04 17:05:07 -07:00
2026-01-04 17:05:07 -07:00
2025-11-25 16:31:10 +01:00
2025-11-20 23:11:07 +01:00
2025-11-18 11:30:58 -07:00
2025-12-29 09:14:02 -07:00
2025-12-16 15:30:06 -07:00
2025-11-25 16:31:10 +01:00
2025-11-18 11:30:58 -07:00
2025-11-24 21:51:23 -07:00
2025-11-20 21:38:50 +01:00
2025-12-22 13:25:59 -06:00
2025-12-11 18:20:17 -07:00
2025-11-18 10:58:28 -07:00
2025-12-15 17:16:40 -07:00
2025-12-14 23:46:57 +01:00
2025-12-14 23:46:57 +01:00
2025-12-15 12:06:11 -07:00
2026-01-04 17:05:07 -07:00
2025-11-25 16:31:10 +01:00
2025-12-16 20:20:28 -07:00
2025-12-14 23:46:57 +01:00
2026-01-04 17:05:07 -07:00
2026-01-03 09:55:36 -07:00
2025-12-01 20:48:35 -07:00
2025-11-25 16:51:04 +01:00
2025-12-17 14:46:07 +01:00
2025-12-14 23:46:57 +01:00
2025-12-29 09:14:02 -07:00
2026-01-09 14:19:29 -06:00
2025-12-17 01:45:19 +01:00
2026-01-07 15:22:11 +01:00
2026-01-04 17:05:07 -07:00
2025-12-16 20:21:23 -07:00
2026-01-04 17:05:07 -07:00
2025-11-18 10:58:28 -07:00
2025-12-14 23:46:57 +01:00
2025-12-14 23:46:57 +01:00
2025-12-16 20:20:28 -07:00
2025-12-16 20:20:28 -07:00
2025-11-21 18:37:40 +01:00
2025-11-21 18:37:40 +01:00
2026-01-08 17:24:59 +01:00
2026-01-08 17:24:59 +01:00
2025-12-06 15:55:24 +01:00
2025-11-25 16:31:10 +01:00
2025-11-18 13:08:59 -07:00
2026-01-09 18:24:19 +01:00
2026-01-01 13:51:50 +01:00
2025-12-14 23:46:57 +01:00
2025-12-14 23:46:57 +01:00
2025-12-14 23:46:57 +01:00
2025-12-14 23:46:57 +01:00
2025-11-22 00:01:39 +01:00
2026-01-08 11:38:26 -07:00
2026-01-08 11:38:26 -07:00
2026-01-09 11:09:52 -07:00
2025-12-16 21:45:34 -07:00
2025-12-14 23:46:57 +01:00
2025-12-17 14:46:07 +01:00
2025-12-14 23:46:57 +01:00
2025-12-11 22:42:13 +01:00
2025-11-25 17:08:02 +01:00
2025-11-25 16:31:10 +01:00
2025-12-03 10:24:59 +00:00
2025-12-29 09:56:42 +01:00
2025-12-11 18:20:17 -07:00
2026-01-07 21:24:13 -07:00
2026-01-07 21:24:13 -07:00
2026-01-07 21:32:52 -07:00
2026-01-07 21:37:02 -07:00
2025-12-09 23:05:29 +01:00
2025-11-29 15:48:24 +01:00
2025-12-04 23:39:54 +01:00
2025-12-02 17:45:14 -07:00
2025-11-27 12:22:45 -05:00
2025-11-20 17:09:53 +01:00
2025-11-20 17:09:53 +01:00
2025-11-18 17:22:36 -07:00
2025-12-16 20:20:28 -07:00
2025-12-17 01:45:19 +01:00
2025-11-24 03:06:17 +01:00
2025-12-01 18:10:19 -07:00
2025-12-01 18:10:19 -07:00
2025-12-14 23:46:57 +01:00
2025-12-14 23:46:57 +01:00
2025-12-18 03:43:45 +01:00
2025-12-17 21:34:50 +01:00
2025-12-14 23:46:57 +01:00
2025-12-18 03:43:45 +01:00
2025-12-14 23:46:57 +01:00
2025-12-20 15:32:59 +01:00
2025-12-14 23:46:57 +01:00
2025-12-14 23:46:57 +01:00
2026-01-05 18:09:15 +00:00
2026-01-05 16:41:27 +01:00
2025-11-25 16:31:10 +01:00
2025-12-09 00:31:33 +01:00
2025-11-24 21:07:53 +01:00
2025-12-16 00:29:23 +01:00
2025-12-15 23:50:57 +01:00
2025-11-18 11:30:58 -07:00
2025-12-11 18:20:17 -07:00
2025-12-09 20:53:01 +01:00
2025-12-15 12:06:11 -07:00
2025-11-20 23:11:07 +01:00
2025-12-14 23:46:57 +01:00
2025-12-14 23:46:57 +01:00
2025-11-25 16:31:10 +01:00
2025-11-20 21:38:50 +01:00
2025-11-20 21:38:50 +01:00
2025-11-20 21:38:50 +01:00
2025-11-20 21:38:50 +01:00
2025-12-29 15:39:11 -07:00
2025-12-14 23:46:57 +01:00
2025-12-14 23:46:57 +01:00
2025-12-14 23:46:57 +01:00
2025-11-18 10:58:28 -07:00
2025-11-18 13:08:59 -07:00
2025-11-18 11:30:58 -07:00
2026-01-07 09:16:41 -07:00
2026-01-07 09:16:41 -07:00
2025-12-02 16:38:42 +01:00