]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] sym53c8xx: fix NULL deref on error path
authorTony Battersby <tonyb@cybernetics.com>
Thu, 8 Jan 2009 17:53:37 +0000 (12:53 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 12 Mar 2009 17:58:15 +0000 (12:58 -0500)
commit754085cd98f8fa05763309b3dd172c9769d681cd
tree474e020b1473ffb780a198782570b50c8f76ca3b
parent2eeb4a05061cfafd3abb8586f9cf4245cb3d007a
[SCSI] sym53c8xx: fix NULL deref on error path

If sym_attach() fails to allocate np, the error path will dereference
a NULL pointer for printk.

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/sym53c8xx_2/sym_glue.c