[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>
This commit is contained in:
Alan Cox 2009-03-23 10:37:57 +00:00 • committed by Russell King
commit ecbf61e735