[SCSI] esas2r: fix potential format string flaw
authorKees Cook <keescook@chromium.org>
Wed, 18 Dec 2013 18:00:54 +0000 (10:00 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:18:58 +0000 (10:18 -0700)
commitb9c2446695cf3f98aec32e3b3f942ad1514068d2
treec3e0226012413451115f29f4043cdd79a7e0870c
parent2e7063770ecf7d0d17a59eeb476107a4b608003a
[SCSI] esas2r: fix potential format string flaw

This makes sure format strings cannot leak into the printk call via the
constructed buffer.

Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Bradley Grove <bgrove@attotech.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/esas2r/esas2r_log.c