Prev: [019/116] tracing: Use same local variable when resetting the ring buffer
Next: [81/89] V4L/DVB (13961): em28xx-dvb: fix memleak in dvb_fini()
From: Greg KH on 30 Mar 2010 19:20 2.6.31-stable review patch. If anyone has any objections, please let us know. ------------------ From: Mika Westerberg <ext-mika.1.westerberg(a)nokia.com> commit c5ce5b46af76f52dea21f467397d24c4ae6cb3ff upstream. Do not use an unchecked variable UBI_IOCMKVOL ioctl. Signed-off-by: Mika Westerberg <ext-mika.1.westerberg(a)nokia.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy(a)nokia.com> Signed-off-by: Greg Kroah-Hartman <gregkh(a)suse.de> --- drivers/mtd/ubi/cdev.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/mtd/ubi/cdev.c +++ b/drivers/mtd/ubi/cdev.c @@ -853,7 +853,6 @@ static long ubi_cdev_ioctl(struct file * break; } - req.name[req.name_len] = '\0'; err = verify_mkvol_req(ubi, &req); if (err) break; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |