diff options
author | Florian Westphal <fw@strlen.de> | 2018-02-27 21:42:35 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-03-06 01:15:43 +0300 |
commit | 7d7d7e02111e9a4dc9d0658597f528f815d820fd (patch) | |
tree | 79624163e94c944c0b0ad6efea062b96ef8d3560 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 9782a11efc072faaf91d4aa60e9d23553f918029 (diff) | |
download | linux-7d7d7e02111e9a4dc9d0658597f528f815d820fd.tar.xz |
netfilter: compat: reject huge allocation requests
no need to bother even trying to allocating huge compat offset arrays,
such ruleset is rejected later on anyway becaus we refuse to allocate
overly large rule blobs.
However, compat translation happens before blob allocation, so we should
add a check there too.
This is supposed to help with fuzzing by avoiding oom-killer.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions