Mingjie Shen
fe92f676b4
gnrc/rpl: fix incorrect addition overflow check
...
Checking for overflow of integer addition by comparing against one of
the arguments of the addition does not work when the result of the
addition is automatically promoted to a larger type.
Fix by using an explicit cast to make sure that the result of the
addition is not implicitly converted to a larger type.
2023-06-17 02:25:11 -04:00
..
2022-12-09 13:58:12 -05:00
2023-06-15 10:24:45 +02:00
2023-04-25 15:46:11 +00:00
2023-06-15 10:24:55 +02:00
2022-08-19 12:01:30 +02:00
2023-03-17 00:08:10 +01:00
2022-03-11 09:24:12 +01:00
2023-06-15 10:24:53 +02:00
2022-10-06 17:43:20 +02:00
2022-03-04 09:35:50 +01:00
2023-05-19 15:03:42 +02:00
2023-06-15 10:24:46 +02:00
2023-06-05 13:00:23 +02:00
2023-06-15 10:27:38 +02:00
2023-06-15 10:24:50 +02:00
2022-01-13 17:50:59 +01:00
2023-02-20 18:22:00 +01:00
2021-12-15 18:58:23 +01:00
2022-11-24 21:27:20 +01:00
2023-05-24 09:53:33 +02:00
2023-06-15 10:24:46 +02:00
2023-06-15 10:24:53 +02:00
2023-06-15 10:24:55 +02:00
2023-06-15 10:27:37 +02:00
2023-06-15 10:24:57 +02:00
2023-02-17 20:09:53 +00:00
2022-09-29 22:01:37 +02:00
2022-12-19 13:03:45 +01:00
2023-01-07 09:47:44 +01:00
2023-06-13 19:08:40 +00:00
2022-05-02 23:23:52 +02:00
2023-06-15 10:24:48 +02:00
2023-05-30 20:39:10 +02:00
2023-06-15 10:24:50 +02:00
2022-10-12 12:21:29 +02:00
2023-06-15 10:24:49 +02:00
2022-11-15 12:59:46 +01:00
2023-06-17 02:25:11 -04:00
2022-09-27 13:42:37 +02:00
2023-06-15 10:24:48 +02:00
2023-06-15 10:24:52 +02:00
2023-03-03 12:04:48 -08:00
2023-05-24 09:53:35 +02:00
2023-06-15 10:24:52 +02:00
2023-05-23 22:04:12 +02:00
2022-10-17 10:38:14 +02:00
2021-12-07 16:31:15 +01:00
2023-06-15 10:24:54 +02:00
2023-06-15 10:24:54 +02:00
2023-06-15 10:24:56 +02:00
2021-12-20 13:04:20 +01:00
2022-07-10 21:27:13 +02:00
2023-04-25 09:20:58 +02:00
2023-06-15 10:24:51 +02:00
2023-06-15 10:24:51 +02:00
2023-06-15 10:24:50 +02:00
2023-06-15 10:24:49 +02:00
2023-06-15 10:24:49 +02:00
2023-06-15 10:24:52 +02:00
2023-06-13 12:11:07 +00:00
2023-05-26 15:04:36 +02:00
2023-06-15 10:24:47 +02:00
2023-05-13 18:27:58 +02:00
2023-01-13 13:50:55 +00:00
2023-02-05 15:49:20 +01:00
2023-01-08 22:26:13 +01:00
2023-01-08 22:26:13 +01:00
2023-01-13 11:08:22 +01:00
2023-06-15 10:24:57 +02:00
2023-05-13 18:27:58 +02:00
2023-02-27 23:25:13 +01:00
2023-06-15 10:24:47 +02:00
2023-06-15 10:24:48 +02:00
2021-11-24 17:54:44 +01:00
2023-06-15 10:24:57 +02:00
2023-06-15 10:27:38 +02:00
2023-02-06 16:19:11 +01:00
2023-06-15 10:27:38 +02:00
2023-06-15 10:24:56 +02:00
2023-06-15 10:24:54 +02:00
2023-06-15 10:24:54 +02:00
2022-03-18 08:23:00 +01:00
2023-05-24 09:53:33 +02:00
2022-03-01 11:03:10 +01:00
2023-02-27 15:09:08 +01:00
2023-05-24 09:53:35 +02:00
2022-03-24 11:36:49 +01:00
2023-05-31 12:55:53 +02:00
2022-10-17 10:38:14 +02:00
2023-06-15 10:27:38 +02:00
2023-04-18 06:20:14 +02:00