diff options
author | Dan Carpenter | 2010-09-08 21:39:56 +0200 |
---|---|---|
committer | David Woodhouse | 2010-10-25 00:52:49 +0200 |
commit | 5e59be1f351b0ca9c5a43c627e3ed676ae93a941 (patch) | |
tree | 57a69440a6ed3045253df626afe726cd21e47ab3 /arch/mips/include/asm/mach-bcm63xx | |
parent | mtd: fix the build warning for fsl_upm.c (diff) | |
download | kernel-qcow2-linux-5e59be1f351b0ca9c5a43c627e3ed676ae93a941.tar.gz kernel-qcow2-linux-5e59be1f351b0ca9c5a43c627e3ed676ae93a941.tar.xz kernel-qcow2-linux-5e59be1f351b0ca9c5a43c627e3ed676ae93a941.zip |
mtd: sanity check ioctl input
If "ur_idx" is wrong we could go past the end of the array. The
"ur_idx" comes from root so it's not a huge deal, but adding a sanity
check makes the code more robust.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'arch/mips/include/asm/mach-bcm63xx')
0 files changed, 0 insertions, 0 deletions