Bug 600242
| Summary: | [abrt] crash Sane::Start aParams.bytes_per_line is 0 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | redchernobil | ||||
| Component: | openoffice.org | Assignee: | Caolan McNamara <caolanm> | ||||
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 12 | CC: | caolanm, nphilipp | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | abrt_hash:12c0d9af68a6c94e01a6a407a701420b61b6fca8 | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-06-04 13:21:50 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
redchernobil
2010-06-04 09:08:02 UTC
Created attachment 421171 [details]
File: backtrace
That line would be UINT32 nHeight = (UINT32) (nFrameLength / aParams.bytes_per_line); so with a FPE aParams.bytes_per_line must be 0 I have to assume that sane_get_parameters failed, because we're not checking the result and that that's why we go on to crash. Its possible of course that sane_get_parameters succeeded and bytes_per_line was explicitly set to 0, more unlikely though. Submitted a patch upstream that would avoid a crash either way. caolanm->redchernobil: What's the output of $ sane-find-scanner on the off chance that there's something wrong sane for that scanner. |