Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Dec 2019 23:18:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 242615] [patch] print/cups-filters: make remote queues auto-installed by cups-browsed actually work
Message-ID:  <bug-242615-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242615

            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@FreeBSD.org
          Reporter: fbsd@opal.com
          Assignee: tijl@FreeBSD.org
             Flags: maintainer-feedback?(tijl@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 f=
ixes
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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242615-7788>