Davide Caratti
8d499533e0
net/sched: act_simple: fix parsing of TCA_DEF_DATA
...
use nla_strlcpy() to avoid copying data beyond the length of TCA_DEF_DATA
netlink attribute, in case it is less than SIMP_MAX_DATA and it does not
end with '\0' character.
v2: fix errors in the commit message, thanks Hangbin Liu
Fixes: fa1b1cff3d06 ("net_cls_act: Make act_simple use of netlink policy.")
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-06-08 18:49:19 -04:00
..
2018-05-22 15:34:34 -04:00
2018-04-05 22:26:06 -04:00
2018-03-27 13:18:09 -04:00
2018-05-03 11:15:58 -04:00
2018-03-27 13:18:09 -04:00
2018-04-22 21:12:00 -04:00
2018-03-27 13:18:09 -04:00
2017-12-13 13:18:46 -05:00
2017-10-12 22:13:20 -07:00
2017-12-13 13:18:46 -05:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-06-08 18:49:19 -04:00
2018-05-11 15:52:43 -04:00
2018-05-11 16:37:03 -04:00
2018-03-27 13:18:09 -04:00
2018-05-16 14:41:44 -04:00
2018-06-06 13:55:47 -04:00
2018-05-24 22:56:15 -04:00
2018-05-24 22:56:15 -04:00
2018-05-24 22:56:15 -04:00
2018-05-24 22:56:15 -04:00
2018-06-04 17:03:37 -04:00
2018-05-24 22:56:15 -04:00
2018-05-24 22:56:15 -04:00
2018-05-24 22:56:15 -04:00
2007-07-10 22:16:41 -07:00
2007-07-10 22:16:41 -07:00
2018-05-24 22:56:15 -04:00
2018-05-24 22:56:15 -04:00
2018-05-24 22:56:15 -04:00
2014-10-06 18:02:32 -04:00
2011-01-19 23:31:12 -08:00
2016-11-03 10:56:21 +01:00
2018-02-21 13:15:33 -05:00
2017-07-01 07:39:08 -07:00
2018-01-24 14:52:40 -05:00
2015-02-22 15:59:54 -05:00
2011-01-19 23:31:12 -08:00
2017-10-16 21:00:40 +01:00
2018-02-21 13:15:33 -05:00
2018-02-21 13:15:33 -05:00
2018-05-16 07:23:35 +02:00
2017-12-21 12:32:51 -05:00
2016-06-25 12:19:35 -04:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:50 -05:00
2017-12-21 12:32:50 -05:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:51 -05:00
2018-05-02 16:37:38 -04:00
2018-05-31 13:26:19 -04:00
2017-12-21 12:32:50 -05:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:50 -05:00
2018-04-01 20:53:50 -04:00
2018-01-17 14:53:57 -05:00
2018-05-29 09:49:16 -04:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:51 -05:00
2018-03-07 11:18:14 -05:00
2017-12-21 12:32:50 -05:00
2017-12-21 12:32:50 -05:00
2018-02-28 12:06:01 -05:00
2017-12-21 12:32:51 -05:00
2018-05-18 13:52:32 -04:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:51 -05:00
2018-05-18 13:52:32 -04:00
2017-12-21 12:32:50 -05:00