Package: hplip / 3.22.10+dfsg0-2

Metadata

Package Version Patches format
hplip 3.22.10+dfsg0-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0061 hp setup fails on fax setup use binary strings.patch | (download)

base/utils.py | 5 1 + 4 - 0 !
fax/pmlfax.py | 8 4 + 4 - 0 !
2 files changed, 5 insertions(+), 8 deletions(-)

 hp-setup fails on fax setup - use binary strings

0062 Fix TypeError.patch | (download)

clean.py | 2 1 + 1 - 0 !
ui/scrollunload.py | 2 1 + 1 - 0 !
ui4/wifisetupdialog.py | 4 2 + 2 - 0 !
ui5/wifisetupdialog.py | 4 2 + 2 - 0 !
4 files changed, 6 insertions(+), 6 deletions(-)

 fix typeerror

- 1564770 - TypeError: 'Error' object does not support indexing

0063 Fix TypeError in hpfax.patch | (download)

fax/backend/hpfax.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix typeerror in hpfax

0064 Fix AttributeError when connecting to printer via wi.patch | (download)

ui5/wifisetupdialog.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix attributeerror when connecting to printer via wifi

0065 Fixed hp setup crash when user wants to define path .patch | (download)

setup.py | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 fixed hp-setup crash when user wants to define path to ppd file

0066 Ignore symlinks when installing plugins.patch | (download)

installer/pluginhandler.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 ignore symlinks when installing plugins

External scripts, which are downloaded and run by hp-plugin, try to create links
in non-existing dirs. These scripts ignore errors, so plugin is installed fine
but then internal hp-plugin can check for plugin state, where links are checked too.
It results in corrupted plugin state, which breaks printer installation by GUI hp-setup.
Temporary workaround is to ignore these bad links and real fix should come from HP,
because their external scripts try to create links in non-existing dirs.
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1671513
Reported upstream: https://bugs.launchpad.net/hplip/+bug/1814574

0067 Scanning broken for HP LaserJet 3052.patch | (download)

scan/scanext/scanext.c | 10 0 + 10 - 0 !
1 file changed, 10 deletions(-)

 scanning broken for hp laserjet 3052

0068 Fixed hpcups crash when required plugin missing.patch | (download)

prnt/hpcups/Compressor.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fixed hpcups crash when required plugin missing

0069 Fixing issues found by coverity scan.patch | (download)

Makefile.am | 6 3 + 3 - 0 !
common/utils.c | 6 5 + 1 - 0 !
io/hpmud/hpmud.c | 1 1 + 0 - 0 !
io/hpmud/jd.c | 1 1 + 0 - 0 !
io/hpmud/model.c | 2 2 + 0 - 0 !
io/hpmud/musb.c | 2 1 + 1 - 0 !
io/hpmud/pp.c | 2 1 + 1 - 0 !
pcard/fat.c | 10 7 + 3 - 0 !
prnt/hpcups/genPCLm.cpp | 20 14 + 6 - 0 !
prnt/hpijs/context2.cpp | 1 1 + 0 - 0 !
prnt/hpijs/systemservices.cpp | 3 3 + 0 - 0 !
prnt/hpps/hppsfilter.c | 6 3 + 3 - 0 !
protocol/hp_ipp.h | 5 5 + 0 - 0 !
scan/sane/bb_ledm.c | 1 1 + 0 - 0 !
scan/sane/common.h | 2 1 + 1 - 0 !
scan/sane/escl.c | 4 2 + 2 - 0 !
scan/sane/http.c | 1 1 + 0 - 0 !
scan/sane/io.c | 6 3 + 3 - 0 !
scan/sane/ledm.c | 4 2 + 2 - 0 !
scan/sane/marvell.c | 22 11 + 11 - 0 !
scan/sane/sclpml.c | 3 2 + 1 - 0 !
scan/sane/soap.c | 20 10 + 10 - 0 !
scan/sane/soapht.c | 20 10 + 10 - 0 !
23 files changed, 90 insertions(+), 58 deletions(-)

 fixing issues found by coverity scan

0070 abrt hplip strlen hp killed by SIGSEGV.patch | (download)

io/hpmud/musb.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [abrt] hplip: strlen(): hp killed by sigsegv

Segfault during logging to syslog because argument are switched
bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=1727162
upstream https://bugs.launchpad.net/hplip/+bug/1837846

0071 abrt hp systray BlockingIOError Errno 11 Resource te.patch | (download)

systray.py | 9 8 + 1 - 0 !
1 file changed, 8 insertions(+), 1 deletion(-)

 [abrt] hp-systray:blockingioerror: [errno 11] resource temporarily
 unavailable

Traceback in hp-systray when there are no resource
wanted to report upstream, but launchpad ends with timeout error
bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=1738321

0072 Fix building with Python 3.8.patch | (download)

Makefile.am | 8 4 + 4 - 0 !
configure.in | 5 4 + 1 - 0 !
2 files changed, 8 insertions(+), 5 deletions(-)

 fix building with python 3.8


0073 Fix upstream CFLAGS override.patch | (download)

configure.in | 36 23 + 13 - 0 !
1 file changed, 23 insertions(+), 13 deletions(-)

 fix upstream cflags override

Upstream check for python clears OS build system CFLAGS
LP: #1879445
Closes: #961028
0074 py3.8 Fix SyntaxWarning is is not with a literal.patch | (download)

base/utils.py | 2 1 + 1 - 0 !
check-plugin.py | 2 1 + 1 - 0 !
check.py | 2 1 + 1 - 0 !
ui5/devmgr_ext.py | 4 2 + 2 - 0 !
4 files changed, 5 insertions(+), 5 deletions(-)

 py3.8: fix syntaxwarning: "is"/"is not" with a literal

Closes: #955168

0075 py3.8 Assume the python3 distro package is available.patch | (download)

base/password.py | 21 7 + 14 - 0 !
installer/core_install.py | 33 30 + 3 - 0 !
2 files changed, 37 insertions(+), 17 deletions(-)

 =?utf-8?q?py3=2e8=3a=c2=a0assume_the_python3-distro_package_is_ava?=
 =?utf-8?q?ilable?=


0076 Let IsChromeOS always return 0.patch | (download)

common/utils.c | 41 2 + 39 - 0 !
1 file changed, 2 insertions(+), 39 deletions(-)

 let ischromeos always return 0

Closes: #940317

0077 Grow m_pPrinterBuffer if needed on each page.patch | (download)

prnt/hpcups/HPCupsFilter.cpp | 13 10 + 3 - 0 !
prnt/hpcups/HPCupsFilter.h | 1 1 + 0 - 0 !
2 files changed, 11 insertions(+), 3 deletions(-)

 grow m_pprinterbuffer if needed on each page

Bug-Debian: https://bugs.debian.org/974828
Bug-Ubuntu: https://launchpad.net/bugs/1904318

0078 Workaround Add 32 bytes to allocation ColorMatcher.patch | (download)

prnt/hpcups/ColorMatcher.cpp | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 workaround: add 32 bytes to allocation colormatcher

Bug-Debian: https://bugs.debian.org/972339
Bug-Ubuntu: https://launchpad.net/bugs/1901209

==12899== Invalid read of size 1
==12899==    at 0x1174D6: Backward16PixelsNonWhite (Halftoner.h:106)
0079 Workaround Add 32 bytes to allocation Halftoner.patch | (download)

prnt/hpcups/Halftoner.cpp | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 workaround: add 32 bytes to allocation halftoner

Bug-Debian: https://bugs.debian.org/972339
Bug-Ubuntu: https://launchpad.net/bugs/1901209

==144269== Invalid read of size 1
==144269==    at 0x114577: Mode9::Process(RASTERDATA*) (Mode9.cpp:332)
==144269==    by 0x11EDA4: Process (Pipeline.cpp:72)
==144269==    by 0x11EDA4: Pipeline::Execute(RASTERDATA*) (Pipeline.cpp:79)
==144269==    by 0x11EDDF: Pipeline::Execute(RASTERDATA*) (Pipeline.cpp:83)
==144269==    by 0x11EDDF: Pipeline::Execute(RASTERDATA*) (Pipeline.cpp:83)
==144269==    by 0x112677: HPCupsFilter::processRasterData(_cups_raster_s*) (HPCupsFilter.cpp:779)
==144269==    by 0x112DE8: HPCupsFilter::StartPrintJob(int, char**) (HPCupsFilter.cpp:597)
==144269==    by 0x4C17D09: (below main) (libc-start.c:308)
==144269==  Address 0x5a8cc0b is 0 bytes after a block of size 379 alloc'd
==144269==    at 0x483950F: operator new[](unsigned long) (vg_replace_malloc.c:431)
==144269==    by 0x12047B: Halftoner::Halftoner(PrintMode_s*, unsigned int, int*, int, bool) (Halftoner.cpp:184)
==144269==    by 0x11817B: Pcl3::Configure(Pipeline**) (Pcl3.cpp:92)
==144269==    by 0x11EA30: Job::Configure() (Job.cpp:248)
==144269==    by 0x11EB67: Job::Init(SystemServices*, JobAttributes_s*, Encapsulator*) (Job.cpp:63)
==144269==    by 0x111A35: HPCupsFilter::startPage(cups_page_header2_s*) (HPCupsFilter.cpp:481)
==144269==    by 0x112792: HPCupsFilter::processRasterData(_cups_raster_s*) (HPCupsFilter.cpp:668)
==144269==    by 0x112DE8: HPCupsFilter::StartPrintJob(int, char**) (HPCupsFilter.cpp:597)
==144269==    by 0x4C17D09: (below main) (libc-start.c:308)

0080 Workaround Add 32 bytes to allocation Compressor.patch | (download)

prnt/hpcups/Compressor.cpp | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 workaround: add 32 bytes to allocation compressor

Bug-Debian: https://bugs.debian.org/972339
Bug-Ubuntu: https://launchpad.net/bugs/1901209

==183233== Invalid read of size 1
==183233==    at 0x11465A: Mode9::Process(RASTERDATA*) (Mode9.cpp:215)
==183233==    by 0x11EDA4: Process (Pipeline.cpp:72)
==183233==    by 0x11EDA4: Pipeline::Execute(RASTERDATA*) (Pipeline.cpp:79)
==183233==    by 0x11EDDF: Pipeline::Execute(RASTERDATA*) (Pipeline.cpp:83)
==183233==    by 0x11EDDF: Pipeline::Execute(RASTERDATA*) (Pipeline.cpp:83)
==183233==    by 0x112677: HPCupsFilter::processRasterData(_cups_raster_s*) (HPCupsFilter.cpp:779)
==183233==    by 0x112DE8: HPCupsFilter::StartPrintJob(int, char**) (HPCupsFilter.cpp:597)
==183233==    by 0x4C17D09: (below main) (libc-start.c:308)
==183233==  Address 0x5a8f0a1 is 0 bytes after a block of size 3,025 alloc'd
==183233==    at 0x483950F: operator new[](unsigned long) (vg_replace_malloc.c:431)
==183233==    by 0x113AE6: Compressor::Compressor(unsigned int, bool) (Compressor.cpp:44)
==183233==    by 0x114AEB: Mode9::Mode9(unsigned int, bool) (Mode9.cpp:34)
==183233==    by 0x1181C1: Pcl3::Configure(Pipeline**) (Pcl3.cpp:95)
==183233==    by 0x11EA30: Job::Configure() (Job.cpp:248)
==183233==    by 0x11EB67: Job::Init(SystemServices*, JobAttributes_s*, Encapsulator*) (Job.cpp:63)
==183233==    by 0x111A35: HPCupsFilter::startPage(cups_page_header2_s*) (HPCupsFilter.cpp:481)
==183233==    by 0x112792: HPCupsFilter::processRasterData(_cups_raster_s*) (HPCupsFilter.cpp:668)
==183233==    by 0x112DE8: HPCupsFilter::StartPrintJob(int, char**) (HPCupsFilter.cpp:597)
==183233==    by 0x4C17D09: (below main) (libc-start.c:308)

0081 Don t start hp systray in GNOME.patch | (download)

hplip-systray.desktop.in | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 don't start hp-systray in gnome

Don't start hp-systray when there is no systray.  GNOME does not have
a systray anymore.  (Closes: #793675)

0082 Some of the print modes for DeskJet 815C are incorre.patch | (download)

prnt/drv/hpcups.drv.in | 2 1 + 1 - 0 !
prnt/hpcups/dj8x5PrintModes.h | 8 4 + 4 - 0 !
2 files changed, 5 insertions(+), 5 deletions(-)

 some of the print modes for deskjet 815c are incorrectly defined


0083 add format string to snprintf.patch | (download)

protocol/hp_ipp.c | 14 7 + 7 - 0 !
1 file changed, 7 insertions(+), 7 deletions(-)

 add format string to snprintf()