Red Hat Bugzilla – Bug 231075
xsane segfaults when attempting to scan
Last modified: 2014-08-31 19:28:43 EDT
Description of problem:
When I hit the "Scan" button in xsane, it segfaults.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2.Hit the preview button (probably not actually required)
3.Hit the scan button.
An actual scan
The scanner is an Epson Perfection 4990 PHOTO, attached via either USB or
The attached patch prevents the segfault and allows me to scan.
Created attachment 149301 [details]
Patch that prevents segfault
I just checked the sources of version 0.994 and this seems to avoid strncpy()ing
a NULL pointer. Can you please check it with the current xsane package?
0.994 in rawhide scans OK.