[Bug 242615] [patch] print/cups-filters: make remote queues auto-installed by cups-browsed actually work

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 12 23:18:11 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242615

            Bug ID: 242615
           Summary: [patch] print/cups-filters: make remote queues
                    auto-installed by cups-browsed actually work
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: tijl at FreeBSD.org
          Reporter: fbsd at opal.com
          Assignee: tijl at FreeBSD.org
             Flags: maintainer-feedback?(tijl at FreeBSD.org)

When cups-browsed auto-installs remote printer queues on a local system, a
printer with an "implicitclass://" URI is created.  Jobs for this queue are
processed by the backend/implicitclass program which, in turn, tries to run
CUPS' backend/ipp program.

But a hard-coded path to the ipp program which is invalid on FreeBSD causes the
execv() of ipp to fail.

This patch fixes the hard-coded path and also adds a couple of additional fixes
to this code to make sure that the argv_nt[] array is properly sized and
properly NULL terminated and, additionally, that there's an error exit() in
case the execv() fails.

Patch has been submitted upstream here:
https://github.com/OpenPrinting/cups-filters/issues/182

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list