diff options
| author | Gavrilov Ilia <[email protected]> | 2023-05-24 12:25:27 +0000 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2023-06-07 00:43:30 +0200 |
| commit | bd058763a624a1fb5c20f3c46e632d623c043676 (patch) | |
| tree | 272983a243df39fe80b3d6229eacd7c1bc7cb6e9 /tools/testing/selftests/net/lib/py/utils.py | |
| parent | 9025944fddfed5966c8f102f1fe921ab3aee2c12 (diff) | |
netfilter: nf_tables: Add null check for nla_nest_start_noflag() in nft_dump_basechain_hook()
The nla_nest_start_noflag() function may fail and return NULL;
the return value needs to be checked.
Found by InfoTeCS on behalf of Linux Verification Center
(linuxtesting.org) with SVACE.
Fixes: d54725cd11a5 ("netfilter: nf_tables: support for multiple devices per netdev hook")
Signed-off-by: Gavrilov Ilia <[email protected]>
Signed-off-by: Florian Westphal <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions