summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMartyna Szapar <martyna.szapar@intel.com>2020-08-07 13:55:16 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-11 15:32:35 +0200
commit71d781619fc57ef1000cec352343bfea1a559e0e (patch)
treeaff595c31e1e0de59e739f91c2138789dbf6b83e /security
parent48a9be93ff2c5a09e308ef93560ea1f4ecbd22f6 (diff)
i40e: Fix of memory leak and integer truncation in i40e_virtchnl.c
[ Upstream commit 24474f2709af6729b9b1da1c5e160ab62e25e3a4 ] Fixed possible memory leak in i40e_vc_add_cloud_filter function: cfilter is being allocated and in some error conditions the function returns without freeing the memory. Fix of integer truncation from u16 (type of queue_id value) to u8 when calling i40e_vc_isvalid_queue_id function. Fixes: e284fc280473b ("i40e: Add and delete cloud filter") Signed-off-by: Martyna Szapar <martyna.szapar@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions