[Expired for linux (Ubuntu) because there has been no activity for 60 days.]
** Changed in: linux (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1489077 Title: v4l2 can crash computer with badly written userland code Status in linux package in Ubuntu: Expired Bug description: In my simple bit of code to grab a frame from a webcam based on the example code given here: https://gist.github.com/Circuitsoft/1126411 I found a badly crafted version would crash the computer (dead except for flashing keyboard lights). Simply calling ioctl(cam, VIDIOC_STREAMON, &buf.type) twice without calling VIDIOC_STREAMOFF inbetween causes the crash. I realise this code is incompetent but it shouldn't require a hard reboot to recover from it. I guess this might be rather system specific however it seemed worth reporting. I can't recall the last time I managed to crash a linux box from userland... Kernel: Ubuntu 3.13.0-62.102-generic 3.13.11-ckt24 Camera: Bus 001 Device 002: ID 046d:0990 Logitech, Inc. QuickCam Pro 9000 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1489077/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp