Skip to content
Commit 6c6ee53c authored by Hans de Goede's avatar Hans de Goede Committed by Linus Torvalds
Browse files

gspca_sn9c20x: Fix NULL pointer dereference



Don't call v4l2_ctrl_g_ctrl on ctrls which the model cam in question
does not have.

Reported-by: default avatarFrank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
[ Taken directly, since Mauro is on vacation ]
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c5e43b83
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment