~ubuntu-branches/ubuntu/precise/cups/precise-security

« back to all changes in this revision

Viewing changes to debian/patches/usb-backend-initialize-usblp-attached-state.patch

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-12-03 09:05:49 UTC
  • mfrom: (97.1.4 precise-proposed)
  • Revision ID: package-import@ubuntu.com-20121203090549-z6f07kt2atlpxjpa
Tags: 1.5.3-0ubuntu5.1
* SECURITY UPDATE: privilege escalation via config file editing
  - debian/patches/CVE-2012-5519.patch: split configuration file into
    two, to isolate options that have a security impact.
  - debian/cups.install: also install cups-files.conf
  - debian/patches/removecvstag.patch: updated to remove tag from
    cups-files.conf.
  - CVE-2012-5519
* debian/control: remove libtiff5-dev alternate build-depends so this
  package can build in a schroot.
* NOTE: this package does _not_ include the changes from 1.5.3-0ubuntu5
  in precise-proposed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- a/backend/usb-libusb.c
 
2
+++ b/backend/usb-libusb.c
 
3
@@ -1098,6 +1098,8 @@
 
4
   if (libusb_open(printer->device, &printer->handle) < 0)
 
5
     return (-1);
 
6
 
 
7
+  printer->usblp_attached = 0;
 
8
+
 
9
   if (verbose)
 
10
     fputs("STATE: +connecting-to-device\n", stderr);
 
11