diff options
author | Josh Hay <joshua.a.hay@intel.com> | 2013-01-04 03:34:36 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2013-02-05 01:43:49 -0800 |
commit | f752be9c3de4fbb6a9b2c060f3794bd928a0ad7a (patch) | |
tree | 2e4c62f9616136c83f11925b41973f46381e9c43 /lib/bug.c | |
parent | 07ce870bed2f631ad53a2c1a90db20b5f8126ab9 (diff) | |
download | linux-3.10-f752be9c3de4fbb6a9b2c060f3794bd928a0ad7a.tar.gz linux-3.10-f752be9c3de4fbb6a9b2c060f3794bd928a0ad7a.tar.bz2 linux-3.10-f752be9c3de4fbb6a9b2c060f3794bd928a0ad7a.zip |
ixgbe: fix potential null dereference
This patch adds a default case which goes to the next loop iteration
in the case where p is not set, preventing p from being dereferenced.
Signed-off-by: Josh Hay <joshua.a.hay@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions