diff options
| author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2016-05-17 22:41:33 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-07 15:23:41 +0200 |
| commit | 1bcafa3814f3564dc663f8ac3de84fa49bad0b35 (patch) | |
| tree | 99ec7161248d32d7437e3b55f28b78e7230619fc /tools/perf/scripts/python | |
| parent | 711a78a79254470731f2d5f83c22d68c1951ea11 (diff) | |
i40e: avoid null pointer dereference
commit cd956722167ba4fdba9c1ce3eed251b04ea2e10f upstream.
In function i40e_debug_aq parameter desc is assumed to be
possibly NULL. Do not dereference it before checking the
value.
Fixes: f905dd62be88 ("i40e/i40evf: add max buf len to aq debug print helper")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
