summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2022-07-05 11:41:59 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2022-07-09 16:25:09 +0200
commitc39ba4de6b0a843bec5d46c2b6f2064428dada5e (patch)
tree9573c622675b31bbb723ca6d302c557578557d25 /tools/perf/scripts/python/stackcollapse.py
parent7a847c00eeba9744353ecdfad253143b9115678a (diff)
netfilter: nf_tables: replace BUG_ON by element length check
BUG_ON can be triggered from userspace with an element with a large userdata area. Replace it by length check and return EINVAL instead. Over time extensions have been growing in size. Pick a sufficiently old Fixes: tag to propagate this fix. Fixes: 7d7402642eaf ("netfilter: nf_tables: variable sized set element keys / data") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions