sane-project-website/old-archive/1998-12/0110.html

71 wiersze
3.2 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Tue Dec 8 12:32:30 1998 PST" -->
<!-- sent="Tue, 8 Dec 1998 20:33:12 +0000 (GMT)" -->
<!-- name="Nick Lamb" -->
<!-- email="njl98r@ecs.soton.ac.uk" -->
<!-- subject="Bit of a rant, bug in PNM" -->
<!-- id="" -->
<!-- inreplyto="" -->
<title>sane-devel: Bit of a rant, bug in PNM</title>
<h1>Bit of a rant, bug in PNM</h1>
<b>Nick Lamb</b> (<a href="mailto:njl98r@ecs.soton.ac.uk"><i>njl98r@ecs.soton.ac.uk</i></a>)<br>
<i>Tue, 8 Dec 1998 20:33:12 +0000 (GMT)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#110">[ date ]</a><a href="index.html#110">[ thread ]</a><a href="subject.html#110">[ subject ]</a><a href="author.html#110">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0111.html">Wolfgang Kaess: "Internet Message Header"</a>
<li> <b>Previous message:</b> <a href="0109.html">Kaare Rasmussen: "Re: HP1100A ?"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0116.html">David Fox: "Re: Bit of a rant, bug in PNM"</a>
<li> <b>Reply:</b> <a href="0116.html">David Fox: "Re: Bit of a rant, bug in PNM"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
I'm running SANE 1.0 and the Gnomified front ends from CVS<br>
<p>
This is a bit of a rant, because I've been a huge fan of SANE (as an idea)<br>
without trying to implement it for real, and now I am disappointed :(<br>
<p>
&lt;rant&gt;<br>
1. The SANE web pages only list one or two scanners as supported for HP,<br>
but of course the HP support extends to almost their whole range of SCSI<br>
scanners. Either this page should tell users what is definitely working,<br>
(which is almost nothing) or it should tell users what is expected to<br>
work, given a little effort (which is quite a lot, really).<br>
<p>
2. The PNM backend seems to be a quick hack, not really meant to be<br>
distributed in v1.0 package. I hoped to use it to test my install of<br>
SANE, but instead I have spent a good hour finding that the<br>
problem initially thought to be the result of my mistakes is a BUG<br>
in the PNM backend!<br>
&lt;/rant&gt;<br>
<p>
The major bug in the PNM device is that it seems to think the<br>
maximum length parameter to read_sane() is just a suggestion! If<br>
the PNM device has more data to send, it just writes past the end<br>
of the buffer, usually resulting in random SEGVs<br>
It sets the return values correctly, but that's no comfort when<br>
your other variables have been smashed :(<br>
<p>
I can't tell if this bug exists for any other SANE devices.<br>
<p>
Nick.<br>
<p>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0111.html">Wolfgang Kaess: "Internet Message Header"</a>
<li> <b>Previous message:</b> <a href="0109.html">Kaare Rasmussen: "Re: HP1100A ?"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0116.html">David Fox: "Re: Bit of a rant, bug in PNM"</a>
<li> <b>Reply:</b> <a href="0116.html">David Fox: "Re: Bit of a rant, bug in PNM"</a>
<!-- reply="end" -->
</ul>