MIPS: BCM47XX: Use strnchr to avoid reading out of the buffer
authorRafał Miłecki <zajec5@gmail.com>
Wed, 10 Dec 2014 10:49:54 +0000 (11:49 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 1 Apr 2015 15:21:59 +0000 (17:21 +0200)
commit80aaaa8b93d860f828e2cf883f307894640765f0
tree1ab2f6d09a17c3864acc59c8834e580db6695d9e
parent23d2bc42aceb829eaf90c694941e4523c22865e8
MIPS: BCM47XX: Use strnchr to avoid reading out of the buffer

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8662/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm47xx/nvram.c