aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlok Tiwari <[email protected]>2023-01-17 07:45:49 -0800
committerPablo Neira Ayuso <[email protected]>2023-02-01 12:18:48 +0100
commitdac7f50a45216d652887fb92d6cd3b7ca7f006ea (patch)
treeece611746850a7ba772efa5dc4bc386f74fc4b8c /scripts
parentdd25cfab16e6bff1bbd75b42b8334c4419c90a4f (diff)
netfilter: nf_tables: NULL pointer dereference in nf_tables_updobj()
static analyzer detect null pointer dereference case for 'type' function __nft_obj_type_get() can return NULL value which require to handle if type is NULL pointer return -ENOENT. This is a theoretical issue, since an existing object has a type, but better add this failsafe check. Signed-off-by: Alok Tiwari <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions