Skip to content
Snippets Groups Projects
user avatar
Laurent Pinchart authored
Properly validate the user-supplied index against the number of inputs.
The code used the pin local variable instead of the index by mistake.

Reported-by: default avatarJozef Vesely <vesely@gjh.sk>
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
31c5f0c5
History
Name Last commit Last update