diff options
| author | 2016-05-17 22:41:33 +0200 | |
|---|---|---|
| committer | 2016-07-22 00:07:02 -0700 | |
| commit | cd956722167ba4fdba9c1ce3eed251b04ea2e10f (patch) | |
| tree | 0f11a3eca675b9921a2a31f8c7704224d202d04e /tools/testing/selftests/bpf/test_cpp.cpp | |
| parent | Merge branch 'macsec-gro' (diff) | |
i40e: avoid null pointer dereference
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>
Diffstat (limited to 'tools/testing/selftests/bpf/test_cpp.cpp')
0 files changed, 0 insertions, 0 deletions
