~ubuntu-branches/ubuntu/wily/webcam-server/wily

« back to all changes in this revision

Viewing changes to debian/patches/webcam_server-0.50-camera.c.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Luca Bedogni
  • Date: 2006-12-18 10:22:16 UTC
  • Revision ID: james.westby@ubuntu.com-20061218102216-zvt3rgyao59kuuvz
Tags: 0.50-2
* Applied a patch to fix a vulnerability with some type of cameras
* Fixed Build-depends for building also on ia64 (Closes: #403573)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## <0>_<webcam-server-0.50-camera.c>.dpatch by  <me@lucabedogni.it>
 
3
##
 
4
## All lines beginning with `## DP:' are a description of the patch.
 
5
## DP: <Fix a problem with certain types of webcams>
 
6
 
 
7
@DPATCH@
 
8
 
 
9
--- webcam-server-0.50/src/camera.c     2004-09-28 08:40:58.000000000 +0200
 
10
+++ webcam-server-0.50/src/camera.c     2006-09-03 12:01:56.000000000 +0200
 
11
@@ -61,6 +61,7 @@
 
12
                perror ("ioctl (VIDIOCSPICT)");
 
13
                return -1;
 
14
        }
 
15
+       cam->vid_win.flags = 0;
 
16
        if (ioctl (cam->dev, VIDIOCSWIN, &cam->vid_win) == -1) {
 
17
                perror ("ioctl (VIDIOCSWIN)");
 
18
                return -1;