ixgbe: fix potential null dereference
Quoted 10 lines · Linux Kernel Mailing List
Gitweb: http://git.kernel.org/linus/;a=commit;h=f752be9c3de4fbb6a9b2c060f3794bd928a0ad7a Commit: f752be9c3de4fbb6a9b2c060f3794bd928a0ad7a Parent: 07ce870bed2f631ad53a2c1a90db20b5f8126ab9 Author: Josh Hay <[email protected]> AuthorDate: Fri Jan 4 03:34:36 2013 +0000 Committer: Jeff Kirsher <[email protected]> CommitDate: Tue Feb 5 01:43:49 2013 -0800ixgbe: fix potential null dereference
Quoted 7 lines
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 <[email protected]>Tested-by Phil Schmitt <[email protected]>Signed-off-by Jeff Kirsher <[email protected]>---
Jeff/Josh,
Should this patch be considered for stable release 3.7 and 3.4. It applied cleanly to both of these releases. I haven't tested it yet though.
-- Shuah