mtd: terminate user-provided string
authorBrian Norris <computersforpeace@gmail.com>
Tue, 22 Jul 2014 02:08:13 +0000 (19:08 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 19 Aug 2014 18:53:09 +0000 (11:53 -0700)
commit1cc8d8413327a684cd5e93cd52ececb0223bb40b
treec7d135bdbd80f8c84bfd29a0413f4d10ad1cfc6c
parent537ab1bd47d6518e8a40207a80dd0c2c4bc43aed
mtd: terminate user-provided string

Noticed by Coverity as a potential security issue.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/mtdchar.c