summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDavide Caratti <dcaratti@redhat.com>2018-06-08 05:02:31 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-26 07:53:54 +0800
commitc67fd3d086fcae6e4b13256a74c1ed1006a8e2bb (patch)
treea901151852e451b73dec80ed3dacdf86094ffcb1 /tools/perf/scripts/python/stackcollapse.py
parent7af57185bb556a805217f1e1e19fc62880bfcc95 (diff)
net/sched: act_simple: fix parsing of TCA_DEF_DATA
[ Upstream commit 8d499533e0bc02d44283dbdab03142b599b8ba16 ] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions