sane-project-website/old-archive/2000-02/0250.html

94 wiersze
4.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: some backends return invalid pointers</TITLE>
<META NAME="Author" CONTENT="Chris Pinkham (cpinkham@infi.net)">
<META NAME="Subject" CONTENT="Re: some backends return invalid pointers">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: some backends return invalid pointers</H1>
<!-- received="Sun Feb 20 11:33:05 2000" -->
<!-- isoreceived="20000220193305" -->
<!-- sent="Sun, 20 Feb 2000 14:31:59 -0500 (EST)" -->
<!-- isosent="20000220193159" -->
<!-- name="Chris Pinkham" -->
<!-- email="cpinkham@infi.net" -->
<!-- subject="Re: some backends return invalid pointers" -->
<!-- id="200002201932.OAA00732@panther.panther.net" -->
<!-- inreplyto="38B03456.8385157A@wolfsburg.de" -->
<STRONG>From:</STRONG> Chris Pinkham (<A HREF="mailto:cpinkham@infi.net?Subject=Re:%20some%20backends%20return%20invalid%20pointers&In-Reply-To=&lt;200002201932.OAA00732@panther.panther.net&gt;"><EM>cpinkham@infi.net</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun Feb 20 2000 - 11:31:59 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0251.html">S. Grenda: "support for AGFA ARCUS II"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0249.html">Yuri Dario: "New sanei_config_read() replaces fgets()"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0243.html">Oliver Rauch: "some backends return invalid pointers"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#250">[ date ]</A>
<A HREF="index.html#250">[ thread ]</A>
<A HREF="subject.html#250">[ subject ]</A>
<A HREF="author.html#250">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
<EM>&gt; some backends do return invalid pointers when sane_get_option_descriptor
</EM><BR>
<EM>&gt; is called with a negative option (if only tests for &lt;max_options and not for &gt;=0).
</EM><BR>
<P><EM>&gt; Please could every backend author make sure that only a valid pointer or NULL
</EM><BR>
<EM>&gt; is returned.
</EM><BR>
<P>Just fixed the Artec backend so it returns NULL if ( option &gt;= NUM_OPTIONS )
<BR>
or if ( option &lt; 0 ). Will hopefully commit to cvs tonight after I finish
<BR>
fixing another bug I'm working on.
<BR>
<P>Chris
<BR>
<P>*****************************************************************************
<BR>
** Chris Pinkham Linux v2.2.6, Sane v1.0.1, Cajun v3.0-8 **
<BR>
** <A HREF="mailto:cpinkham@infi.net?Subject=Re:%20some%20backends%20return%20invalid%20pointers&In-Reply-To=&lt;200002201932.OAA00732@panther.panther.net&gt;">cpinkham@infi.net</A> <A HREF="http://www4.infi.net/~cpinkham/">http://www4.infi.net/~cpinkham/</A> **
<BR>
*****************************************************************************
<BR>
<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?Subject=Re:%20some%20backends%20return%20invalid%20pointers&In-Reply-To=&lt;200002201932.OAA00732@panther.panther.net&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0251.html">S. Grenda: "support for AGFA ARCUS II"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0249.html">Yuri Dario: "New sanei_config_read() replaces fgets()"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0243.html">Oliver Rauch: "some backends return invalid pointers"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#250">[ date ]</A>
<A HREF="index.html#250">[ thread ]</A>
<A HREF="subject.html#250">[ subject ]</A>
<A HREF="author.html#250">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Sun Feb 20 2000 - 11:34:29 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>