Bug 988007 - [Patch] Canon: First start lets application crash due to lack of null pointer check
Summary: [Patch] Canon: First start lets application crash due to lack of null pointer...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: sane-backends
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 923254 (view as bug list)
Depends On:
Blocks: 923254
TreeView+ depends on / blocked
 
Reported: 2013-07-24 14:16 UTC by Andre Vehreschild
Modified: 2014-03-11 14:09 UTC (History)
2 users (show)

Fixed In Version: sane-backends-1.0.24-4.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-11 12:58:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Preliminary patch to prevent crash. (748 bytes, patch)
2013-07-24 14:16 UTC, Andre Vehreschild
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Debian BTS 314337 0 None None None Never

Description Andre Vehreschild 2013-07-24 14:16:07 UTC
Created attachment 777807 [details]
Preliminary patch to prevent crash.

Description of problem:
A missing null pointer check in the canon module leads to crashing application when scanning for input devices the first time.

Version-Release number of selected component (if applicable):
1.0.23

How reproducible:
Attach canon scsi scanner, start scanning app using sane.

Steps to Reproduce:
1.
2.
3.

Actual results:
App crashes.

Expected results:
App runs w/o crash.

Additional info:
Patch proposed also to the sane project.

Comment 1 David King 2014-03-11 12:58:03 UTC
This bug was fixed upstream in 1.0.24:

http://anonscm.debian.org/gitweb/?p=sane/sane-backends.git;a=commitdiff;h=d750ed0b1276a9a3475a2f819cfc86c3fecd0fd0

As this (actually, later) version (with other patches) is in both F19 and F20, closing this as ERRATA.

Comment 2 David King 2014-03-11 13:45:37 UTC
*** Bug 923254 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.