[SCSI] fusion - bug fix stack overflow in mptbase
authorEric Moore <eric.moore@lsil.com>
Wed, 26 Apr 2006 19:22:37 +0000 (13:22 -0600)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Thu, 27 Apr 2006 18:59:30 +0000 (13:59 -0500)
commit509e5e5d206ff7ba08011b61a882d09369ec20c3
treeadc438ae6704744a2158f4fe8da50839b6b7723d
parentf2536cbd12e5182558cce42efd41072bd558596b
[SCSI] fusion - bug fix stack overflow in mptbase

Bug fix for stack overflow in EventDescriptionStr, (a function
for debuging firmware events).  We allocated 50 bytes on local stack
for buff[], however there are places in the code where we've attempted
copying in greater than 50 bytes into buff[].

Signed-off-by: Eric Moore <Eric.Moore@lsil.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/message/fusion/mptbase.c