Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 920201 Details for
Bug 1076954
segfault and core dump in hp-scan
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
hplip-lineart.patch (potential fix)
hplip-lineart.patch (text/plain), 1.01 KB, created by
Tim Waugh
on 2014-07-23 11:55:53 UTC
(
hide
)
Description:
hplip-lineart.patch (potential fix)
Filename:
MIME Type:
Creator:
Tim Waugh
Created:
2014-07-23 11:55:53 UTC
Size:
1.01 KB
patch
obsolete
>diff -up hplip-3.14.6/scan.py.lineart hplip-3.14.6/scan.py >--- hplip-3.14.6/scan.py.lineart 2014-07-23 12:30:52.361517852 +0100 >+++ hplip-3.14.6/scan.py 2014-07-23 12:32:17.052940000 +0100 >@@ -977,8 +977,8 @@ try: > try: > pixels_per_line = bytes_per_line * 8 # Calculation of pixels_per_line for Lineart must be 8 time of bytes_per_line > # Otherwise, scanned image will be corrupted (slanted) >- im = Image.frombuffer('RGBA', (pixels_per_line, lines), buffer.read(), >- 'raw', 'RGBA', 0, 1).convert('L') >+ im = Image.frombuffer('1', (pixels_per_line, lines), buffer.read(), >+ 'raw', '1', 0, 1).convert('L') > except ValueError: > log.error("Did not read enough data from scanner (I/O Error?)") > sys.exit(1)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1076954
:
877600
|
882782
|
885885
|
885886
|
916531
|
916758
|
917625
|
917631
|
917635
|
917636
| 920201 |
921170
|
921228
|
935015