[sane-devel] [PATCH] scanimage segfault with ScanMaker IIHR
Olaf Meeuwissen
olaf.meeuwissen at avasys.jp
Mon Jun 25 23:44:41 UTC 2012
Ralf Horstmann <ralf-lists at ackstorm.de> writes:
> Hello all,
Hi,
> [...]
> Using scanimage in color mode locally on that machine results in
> segfaults after scanning a few seconds, because the buffer allocated for
> holding the image is not big enough. Seems scanimage doesn't work well
> with Microtek scanners that needs three passes to scan color images.
>
> The following patch fixed it for me.
Had a look at the patch. Considering the fact that for this case
scanimage already has an
assert (param.depth == 8);
it looks fine to me.
Hope this helps,
--
Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS CORPORATION
FSF Associate Member #1962 Help support software freedom
http://www.fsf.org/jf?referrer=1962
More information about the sane-devel
mailing list