summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fcoe
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-12-17 16:04:21 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-17 17:15:26 -0800
commit31279b1457f992f24eee8d45ddd647f5fce42cf6 (patch)
tree25e8286f5e1fc6e01219eac7452b043a62aae90e /drivers/scsi/fcoe
parent2b37c7d865121249f2dee9ae25d524333b07be63 (diff)
downloadblackbird-op-linux-31279b1457f992f24eee8d45ddd647f5fce42cf6.tar.gz
blackbird-op-linux-31279b1457f992f24eee8d45ddd647f5fce42cf6.zip
aoe: fix use after free in aoedev_by_aoeaddr()
We should return NULL on failure instead of returning a freed pointer. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Cc: Ed Cashin <ecashin@coraid.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/scsi/fcoe')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud