Skip to contentSkip to conversation

ixgbe: fix potential null dereference

DISCUSSION Shuah Khan 1 participant 1 message Feb 21, 2013 1 message not in the archive Stable branch

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Shuah Khan

author
#1 lore raw
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 -0800

ixgbe: 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.

---

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