summaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorGrzegorz Siwik <grzegorz.siwik@intel.com>2019-03-29 15:08:37 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-18 18:24:58 +0100
commit0f60ed1afff42f84dcba5a7950ee8712da8363d5 (patch)
treeb9520122e7232583113fce830f27bb473dd444b3 /lib/string_helpers.c
parent03f69244302d7954f42f528ea2d45903ebbf59f3 (diff)
i40e: Wrong truncation from u16 to u8
commit c004804dceee9ca384d97d9857ea2e2795c2651d upstream. In this patch fixed wrong truncation method from u16 to u8 during validation. It was changed by changing u8 to u32 parameter in method declaration and arguments were changed to u32. Signed-off-by: Grzegorz Siwik <grzegorz.siwik@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions