aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorPablo Neira Ayuso <[email protected]>2022-05-27 09:56:18 +0200
committerPablo Neira Ayuso <[email protected]>2022-05-31 23:13:10 +0200
commitfecf31ee395b0295f2d7260aa29946b7605f7c85 (patch)
tree6d90cad797014df56c589ad7e3310946d04ff78a /scripts/gdb/linux/tasks.py
parent09e545f7381459c015b6fa0cd0ac6f010ef8cc25 (diff)
netfilter: nf_tables: sanitize nft_set_desc_concat_parse()
Add several sanity checks for nft_set_desc_concat_parse(): - validate desc->field_count not larger than desc->field_len array. - field length cannot be larger than desc->field_len (ie. U8_MAX) - total length of the concatenation cannot be larger than register array. Joint work with Florian Westphal. Fixes: f3a2181e16f1 ("netfilter: nf_tables: Support for sets with multiple ranged fields") Reported-by: <[email protected]> Reviewed-by: Stefano Brivio <[email protected]> Signed-off-by: Florian Westphal <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions