Eric Dumazet
284041ef21
ipv6: fix possible crashes in ip6_cork_release()
...
commit 0178b695fd6b4 ("ipv6: Copy cork options in ip6_append_data")
added some code duplication and bad error recovery, leading to potential
crash in ip6_cork_release() as kfree() could be called with garbage.
use kzalloc() to make sure this wont happen.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Cc: Neal Cardwell <ncardwell@google.com>
2013-05-18 12:55:45 -07:00
..
2013-04-22 20:32:51 -04:00
2013-04-14 15:24:17 -04:00
2013-04-22 20:32:51 -04:00
2013-03-22 10:31:16 -04:00
2013-03-26 12:27:18 -04:00
2013-02-15 15:10:37 -05:00
2013-02-18 14:53:08 -05:00
2013-03-08 12:29:23 -05:00
2013-01-08 12:41:30 +01:00
2012-11-30 12:01:30 -05:00
2012-11-15 17:39:24 -05:00
2013-01-13 20:17:14 -05:00
2012-11-03 14:59:05 -04:00
2013-04-29 15:14:03 -04:00
2013-03-08 12:29:22 -05:00
2013-01-23 13:44:01 -05:00
2013-01-08 17:56:10 -08:00
2013-02-27 19:10:24 -08:00
2013-03-07 16:33:10 -05:00
2013-05-11 17:40:14 -07:00
2013-04-29 13:54:36 -04:00
2013-03-29 14:57:33 -04:00
2013-03-09 16:09:17 -05:00
2012-11-15 17:39:24 -05:00
2013-05-18 12:55:45 -07:00
2013-03-26 12:27:18 -04:00
2013-03-28 14:25:25 -04:00
2012-07-12 00:25:15 -07:00
2013-01-31 13:53:08 -05:00
2013-03-26 12:27:19 -04:00
2013-04-29 13:54:36 -04:00
2013-02-18 14:53:08 -05:00
2012-09-25 16:04:44 -04:00
2013-03-08 12:29:22 -05:00
2013-04-18 20:27:55 +02:00
2012-11-15 17:39:23 -05:00
2013-05-01 17:51:54 -07:00
2012-11-15 17:39:24 -05:00
2013-03-08 12:29:22 -05:00
2013-04-22 20:32:51 -04:00
2013-03-22 10:31:16 -04:00
2013-03-26 12:27:19 -04:00
2013-03-17 14:35:13 -04:00
2012-11-18 20:33:00 -05:00
2013-05-11 16:26:38 -07:00
2012-11-15 17:39:51 -05:00
2012-05-16 01:01:03 -04:00
2013-05-11 16:26:38 -07:00
2013-03-09 16:09:17 -05:00
2013-05-11 16:26:38 -07:00
2013-05-11 16:26:38 -07:00
2010-03-25 16:00:49 +01:00
2012-02-23 16:50:45 -05:00
2013-03-06 07:02:45 +01:00
2012-02-01 02:52:48 -05:00
2013-05-11 17:40:15 -07:00
2012-11-01 12:41:35 -04:00
2013-02-27 19:10:24 -08:00