Red Hat Bugzilla – Bug 988007
[Patch] Canon: First start lets application crash due to lack of null pointer check
Last modified: 2014-03-11 10:09:53 EDT
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):
Attach canon scsi scanner, start scanning app using sane.
Steps to Reproduce:
App runs w/o crash.
Patch proposed also to the sane project.
This bug was fixed upstream in 1.0.24:
As this (actually, later) version (with other patches) is in both F19 and F20, closing this as ERRATA.
*** Bug 923254 has been marked as a duplicate of this bug. ***