Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5ce5b46 authored by Mika Westerberg's avatar Mika Westerberg Committed by Artem Bityutskiy
Browse files

UBI: fix volume creation input checking



Do not use an unchecked variable UBI_IOCMKVOL ioctl.

Signed-off-by: default avatarMika Westerberg <ext-mika.1.westerberg@nokia.com>
Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Cc: stable@vger.kernel.org
parent 92dcffb9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -853,7 +853,6 @@ static long ubi_cdev_ioctl(struct file *file, unsigned int cmd,
			break;
		}

		req.name[req.name_len] = '\0';
		err = verify_mkvol_req(ubi, &req);
		if (err)
			break;