kernel: bump 4.14 to 4.14.34
[openwrt/openwrt.git] / target / linux / generic / backport-4.14 / 334-netfilter-nf_tables-fix-potential-NULL-ptr-deref-in-.patch
index 57e9b53301d7ea5758775824046665bf1ba21710..59c419e0031d74f514fe2be4b0961cf641041e60 100644 (file)
@@ -15,9 +15,9 @@ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
 
 --- a/net/netfilter/nf_tables_api.c
 +++ b/net/netfilter/nf_tables_api.c
-@@ -4614,8 +4614,10 @@ static int nf_tables_dump_obj_done(struc
- {
-       struct nft_obj_filter *filter = cb->data;
+@@ -5262,8 +5262,10 @@ static int nf_tables_dump_flowtable_done
+       if (!filter)
+               return 0;
  
 -      kfree(filter->table);
 -      kfree(filter);