Description of problem: I tried printing 5 pages out of a 300 page pdf. Version-Release number of selected component: hplip-3.17.9-1.fc26 Additional info: reporter: libreport-2.9.1 backtrace_rating: 4 cmdline: M570dn 284 ossman KOMMISSIONENS DELEGERADE F RORDNING (EU) 2016/ 1969 - av den 12 september 2016 - om ndring av r dets f rordning (EG) nr 428 / 2009 om uppr ttande av en gemenskapsordning f r kontroll av export, verf ring, f rmed 1 HPRGBEmulation=DefaultSRGB HPGraphicsNeutralGrays=Black HPPaperSource=AutomaticallySelect noHPEconoMode number-up=1 noCollate HPEdgeControl=Normal HPGeneralHalftone=Smooth PageSize=A4 HPPhotoNeutralGrays=ProcessBlack HPTextNeutralGrays=Black Duplex=None HPEasyColor MediaType=Plain noHPColorAsGray job-uuid=urn:uuid:30805d84-21ec-33eb-6217-49b98939f303 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1507709200 time-at-processing=1507709200 crash_function: sprintf executable: /usr/lib/cups/filter/hpps journald_cursor: s=32b55581e41f4362a0537a0648a8be00;i=2484fc;b=972a186726a04d2481207d030d5fe549;m=1a2d1886ff3;t=55b40e74d5ec8;x=cc955eb29394106c kernel: 4.12.13-300.fc26.x86_64 rootdir: / runlevel: N 5 type: CCpp uid: 4 Truncated backtrace: Thread no. 1 (2 frames) #10 sprintf at /usr/include/bits/stdio2.h:33 #11 WriteHeader at prnt/hpps/hppsfilter.c:239
Created attachment 1337035 [details] File: backtrace
Created attachment 1337036 [details] File: cgroup
Created attachment 1337037 [details] File: core_backtrace
Created attachment 1337038 [details] File: cpuinfo
Created attachment 1337039 [details] File: dso_list
Created attachment 1337040 [details] File: environ
Created attachment 1337042 [details] File: limits
Created attachment 1337043 [details] File: maps
Created attachment 1337044 [details] File: open_fds
Created attachment 1337045 [details] File: proc_pid_status
Created attachment 1337046 [details] File: var_log_messages
Hi Pierre, thank you for reporting this issue. Hpps code doesn't have any checks for length of arrays and uses sprintf, which doesn't check any lengths too - fix will be adding checks and new ways of dealing with long strings.
Reported upstream https://bugs.launchpad.net/hplip/+bug/1725342
*** Bug 1571449 has been marked as a duplicate of this bug. ***
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle. Changing version to '29'.
*** This bug has been marked as a duplicate of bug 1716582 ***