commit | 30d35e49509345a3bee778e0cee8545cd70853e2 | [log] [tgz] |
---|---|---|
author | Jean-Francois Moine <moinejf@free.fr> | Tue Apr 21 13:57:31 2009 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Tue Jun 16 18:20:54 2009 -0300 |
tree | a6f3b9eebc7d339de0d543e9e9b3e53c01409db9 | |
parent | 6929dc6b30dc3a6c9c411f677a11b866e8dd28aa [diff] |
V4L/DVB (11711): gspca - main: Fix a crash when no bandwidth available When the bandwidth is not wide enough, the transfer endpoint may be set to the one of the alternate setting 0. This one may be null and this causes a divide by 0 oops. Reported-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>