[sane-devel] Preview in xscanimage only possible as root
Oliver Schwartz
Oliver.Schwartz at gmx.de
Thu Nov 29 21:51:48 GMT 2001
Hi,
> > I don't know if it fixes the original problem
O.k., it seems Klaus-Peter Schrage also found the cause for the original
problem by now: In restore_preview_image(), if xscanimage finds a corrupted
file with no data, "width" is set to zero, which causes a floating point
exception in p->image_y = nread/width;
I've commited a fix for preview.c to sane CVS.
Regards,
Oliver
More information about the sane-devel
mailing list