Bug 147790
| Summary: | "xwdtopnm: object too large" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jonathan Kamens <h1k6zn2m> | ||||
| Component: | netpbm | Assignee: | Jindrich Novy <jnovy> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Ben Levenson <benl> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | rawhide | CC: | pknirsch | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 10.26.4-3 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2005-03-14 09:21:32 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Jonathan Kamens
2005-02-11 11:01:13 UTC
Hello Jonathan, I was unable to reproduce it with netpbm-10.26-1 and ImageMagick-6.0.7.1-4. Could you attach here the xwd image that needs to be converted with xwdtopnm? Jindrich Created attachment 111122 [details]
bzipped xwd that exhibits this problem
Unbzip this and run "xwdtopnm < mozilla.xwd" and it produces the "object too
large" error I reported. Interestingly, when I run "xwdtopnm -verbose <
mozilla.xwd" I get "Input is different endianness from this machine" before I
get "object too large".
You're right. The problem is with multiplication overflow checking, where bytes_per_line is got from a wrong structure (h11P), but the values with which are lately operated are in h11FixedP, so the overflow check generates bogus warnings as the h11P structure contains integers with incompatible endianess. I fixed the overflow check and will close this bug after new netpbm is built. Thanks, Jindrich New netpbm is just built. |