Sabrina Dubroca
6399f1fae4
ipv6: avoid overflow of offset in ip6_find_1stfragopt
...
In some cases, offset can overflow and can cause an infinite loop in
ip6_find_1stfragopt(). Make it unsigned int to prevent the overflow, and
cap it at IPV6_MAXPLEN, since packets larger than that should be invalid.
This problem has been here since before the beginning of git history.
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-07-19 22:50:14 -07:00
..
2017-06-15 11:59:32 -04:00
2017-06-30 06:27:09 -07:00
2017-06-09 12:26:07 -04:00
2017-07-04 01:29:04 -07:00
2017-07-04 01:29:04 -07:00
2017-04-26 22:39:08 -04:00
2017-06-23 14:17:31 -04:00
2017-07-04 01:29:04 -07:00
2017-07-04 22:35:16 +01:00
2017-07-01 07:39:08 -07:00
2017-06-22 10:49:14 +02:00
2017-07-01 07:39:08 -07:00
2016-06-27 15:06:15 -04:00
2015-09-02 15:31:00 -07:00
2017-07-04 01:29:03 -07:00
2017-06-20 15:34:02 -04:00
2017-05-21 13:42:36 -04:00
2017-06-14 15:33:58 -04:00
2017-01-28 10:33:06 -05:00
2017-07-01 07:39:08 -07:00
2016-06-14 15:26:42 -04:00
2017-07-06 10:48:01 +01:00
2016-12-24 11:46:01 -08:00
2017-06-26 23:13:22 -04:00
2016-06-18 22:11:38 -07:00
2017-04-20 10:35:33 -04:00
2017-06-04 21:41:10 -04:00
2016-04-07 16:53:29 -04:00
2017-07-01 07:39:08 -07:00
2017-06-26 23:13:22 -04:00
2016-11-02 15:18:36 -04:00
2017-06-26 23:13:22 -04:00
2017-06-21 11:22:53 -04:00
2016-11-04 14:45:23 -04:00
2017-07-05 16:05:24 -07:00
2017-03-27 16:05:06 -07:00
2017-02-15 11:04:11 +01:00
2015-08-13 17:08:39 -07:00
2017-07-04 01:29:04 -07:00
2016-12-25 17:21:23 +01:00
2017-06-16 11:48:39 -04:00
2016-11-04 14:45:23 -04:00
2017-07-19 22:50:14 -07:00
2017-06-04 22:56:55 -04:00
2017-06-12 09:53:14 -04:00
2017-03-24 13:17:07 -07:00
2017-06-04 22:56:55 -04:00
2016-11-03 15:41:11 -04:00
2017-07-06 10:48:01 +01:00
2017-02-07 16:29:30 -05:00
2017-05-30 11:55:32 -04:00
2017-05-21 13:42:36 -04:00
2017-06-30 12:43:08 -04:00
2017-07-18 11:22:51 -07:00
2016-06-27 15:06:17 -04:00
2017-07-01 07:39:08 -07:00
2015-02-28 16:56:51 -05:00
2015-11-03 10:52:13 -05:00
2017-05-18 10:23:33 -04:00
2017-05-17 22:54:11 -04:00
2017-07-01 07:39:08 -07:00
2016-11-24 15:32:14 -05:00
2017-06-22 10:49:14 +02:00
2017-06-16 11:48:39 -04:00
2017-06-02 13:57:27 -04:00
2017-06-02 13:57:27 -04:00
2017-04-14 10:07:39 +02:00
2017-04-14 10:06:10 +02:00
2017-02-09 10:22:19 +01:00
2017-02-09 10:22:17 +01:00
2014-08-24 22:37:52 -07:00
2017-07-04 01:29:04 -07:00