patch-2.4.27 linux-2.4.27/drivers/usb/vicam.c

Next file: linux-2.4.27/drivers/video/fbmem.c
Previous file: linux-2.4.27/drivers/usb/tiglusb.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.26/drivers/usb/vicam.c linux-2.4.27/drivers/usb/vicam.c
@@ -481,6 +481,7 @@
 			struct video_capability b;
 
 			DBG("VIDIOCGCAP\n");
+			memset(&b, 0, sizeof(b));
 			strcpy(b.name, "ViCam-based Camera");
 			b.type = VID_TYPE_CAPTURE;
 			b.channels = 1;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)