public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* drivers/media/video/usbvision/usbvision-video.c: negative array
@ 2006-12-18  0:10 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2006-12-18  0:10 UTC (permalink / raw)
  To: Joerg Heckenbach; +Cc: gregkh, linux-usb-devel, linux-kernel

index
Reply-To: 
Fcc: =sent-mail

The Coverity checker spotted that in usbvision_v4l2_read(), the variable 
"frmx" is never assigned any value different from -1, but it's used an 
an array index in "usbvision->frame[frmx]".

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-18  0:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-18  0:10 drivers/media/video/usbvision/usbvision-video.c: negative array Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox