Bug 231075 - xsane segfaults when attempting to scan
xsane segfaults when attempting to scan
Product: Fedora
Classification: Fedora
Component: xsane (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nils Philippsen
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2007-03-05 17:41 EST by Jay Fenlason
Modified: 2014-08-31 19:28 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-04-25 12:04:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch that prevents segfault (657 bytes, patch)
2007-03-05 17:41 EST, Jay Fenlason
no flags Details | Diff

  None (edit)
Description Jay Fenlason 2007-03-05 17:41:13 EST
Description of problem: 
When I hit the "Scan" button in xsane, it segfaults.   
Version-Release number of selected component (if applicable): 
How reproducible: 
Steps to Reproduce: 
1.Start xsane 
2.Hit the preview button (probably not actually required) 
3.Hit the scan button. 
Actual results: 
Expected results: 
An actual scan 
Additional info: 
The scanner is an Epson Perfection 4990 PHOTO, attached via either USB or 
The attached patch prevents the segfault and allows me to scan.
Comment 1 Jay Fenlason 2007-03-05 17:41:13 EST
Created attachment 149301 [details]
Patch that prevents segfault
Comment 2 Nils Philippsen 2007-04-25 11:50:43 EDT
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?
Comment 3 Jay Fenlason 2007-04-25 12:04:38 EDT
0.994 in rawhide scans OK.

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