Niles Salter
82470d4f89
[priority_dequeue] Fix out-of-bounds access
...
This makes it so `first_child_index` will not be accessed when it is equal to `self.len`. (i.e. `self.items[self.len]` will not happen) The access itself was "safe" (as in, `self.len < self.items.len`) because we were only calling `doSiftDown` in the case where there was a stale value at `self.items[self.len]`. However, it is still technically a bug, and can manifest by an unnecessary comparison of a value to a copy of itself.
2023-06-22 02:03:53 -07:00
..
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2022-05-09 18:51:46 +02:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-06-22 11:44:46 +03:00
2023-06-19 12:34:42 -07:00
2023-06-20 19:01:34 -04:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-05-08 10:59:06 +03:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-06-16 13:44:09 -07:00
2023-06-19 12:34:42 -07:00
2023-04-28 13:24:43 -07:00
2023-06-20 10:56:23 -07:00
2023-06-19 12:34:42 -07:00
2022-01-01 12:47:08 +00:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-06-10 20:47:54 -07:00
2023-06-16 13:44:09 -07:00
2023-04-21 23:08:48 -04:00
2023-06-13 23:46:58 +06:00
2023-06-19 12:34:42 -07:00
2023-05-07 15:55:21 +10:00
2023-04-22 13:09:15 +03:00
2023-04-28 13:24:43 -07:00
2023-06-17 13:17:34 -07:00
2023-06-17 13:17:34 -07:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-02-22 00:11:20 +11:00
2023-05-23 17:55:59 -07:00
2023-05-22 16:11:06 +02:00
2023-06-13 23:46:58 +06:00
2023-06-19 12:34:42 -07:00
2023-06-12 14:22:45 -07:00
2023-06-19 12:34:42 -07:00
2023-06-19 22:36:24 -07:00
2023-06-19 12:34:42 -07:00
2023-06-16 13:44:09 -07:00
2023-06-19 22:36:24 -07:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-06-10 20:42:30 -07:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-01-11 15:39:48 -08:00
2023-06-19 12:34:42 -07:00
2023-06-19 11:21:37 -04:00
2023-06-19 12:34:42 -07:00
2023-04-30 18:16:04 -07:00
2023-06-19 12:34:42 -07:00
2023-04-30 18:16:04 -07:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-02-18 19:17:21 -07:00
2023-06-20 12:55:38 -04:00
2023-04-30 18:16:04 -07:00
2023-06-19 12:34:42 -07:00
2023-06-22 02:03:53 -07:00
2023-02-18 19:17:21 -07:00
2023-06-19 12:34:42 -07:00
2023-04-28 13:24:43 -07:00
2023-06-16 13:44:09 -07:00
2023-06-19 12:34:42 -07:00
2023-04-28 13:24:43 -07:00
2023-06-17 13:17:34 -07:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-03-17 17:50:25 +01:00
2023-06-19 12:34:42 -07:00
2023-06-20 08:27:55 -07:00
2023-06-17 12:49:13 -07:00
2023-06-19 12:34:42 -07:00
2023-04-30 18:16:04 -07:00
2023-06-19 12:34:42 -07:00
2023-04-28 13:24:43 -07:00
2023-06-13 23:46:58 +06:00
2023-06-16 13:44:09 -07:00
2023-06-19 12:34:42 -07:00
2023-06-19 12:34:42 -07:00
2023-06-17 13:17:34 -07:00