[ARM] cumana: Fix a long standing bogon
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 23 Mar 2009 10:37:57 +0000 (10:37 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 24 Mar 2009 22:52:27 +0000 (22:52 +0000)
commitecbf61e7357d5c7047c813edd6983902d158688c
tree117e5705e4257997889fb51dce38c28ef8933d46
parentdc85ce155b7cad4c39c1fc95b4f6281920cef3c8
[ARM] cumana: Fix a long standing bogon

Should be using strncmp as the data from user space may be unterminated

(Bug #8004)

Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/scsi/arm/cumana_2.c