]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[SCSI] bfa: Fixes for 0-terminated strncpy and possible null pointer dereference
authorJakob Normark <jakobnormark@gmail.com>
Wed, 15 May 2013 19:41:51 +0000 (21:41 +0200)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 26 Jun 2013 14:59:37 +0000 (07:59 -0700)
commitc6e23d83c35380909edf2eb364943719bc10e9be
treed0e0c0ea6a21646648b46802ddedaab25f5106f6
parent7525be545c839a65bb05ac71e795d17eafcaf20a
[SCSI] bfa: Fixes for 0-terminated strncpy and possible null pointer dereference

This patch fixes two cppcheck errors in drivers/scsi/bfa/bfad_im.c

[jejb: correct strlcpy fix]
Signed-off-by: Jakob Normark <jakobnormark@gmail.com>
Acked-by: Vijay Mohan Guvva <vmohan@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bfa/bfad_im.c