Description of problem: When I hit the "Scan" button in xsane, it segfaults. Version-Release number of selected component (if applicable): xsane-0.993-1.fc7 How reproducible: Always Steps to Reproduce: 1.Start xsane 2.Hit the preview button (probably not actually required) 3.Hit the scan button. Actual results: Segfault Expected results: An actual scan Additional info: The scanner is an Epson Perfection 4990 PHOTO, attached via either USB or FireWire. 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.