V4L/DVB (13325): gspca - pac7302/pac7311: Fix buffer overrun.
authorMarton Nemeth <nm127@freemail.hu>
Thu, 5 Nov 2009 08:40:46 +0000 (05:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:41:21 +0000 (18:41 -0200)
commit8337fc3053f4189fb64d60495ed89df5befa2a6b
tree7f44096c8dc8e76ecef5aa7e3ea34d1db3816660
parent4f7309e27865b88df7b0b0ad59e0376dba1806af
V4L/DVB (13325): gspca - pac7302/pac7311: Fix buffer overrun.

The reg_w_seq() function expects the sequence length in entries
and not in bytes. One entry in init_7302 and init_7311 is two
bytes and not one.

Signed-off-by: Marton Nemeth <nm127@freemail.hu>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/pac7302.c
drivers/media/video/gspca/pac7311.c