sane-project-website/old-archive/2001-05/0125.html

84 wiersze
3.2 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: EOF buffer overflow with Xsane 0.76</TITLE>
<META NAME="Author" CONTENT="Nick Lamb (njl98r@ecs.soton.ac.uk)">
<META NAME="Subject" CONTENT="Re: EOF buffer overflow with Xsane 0.76">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: EOF buffer overflow with Xsane 0.76</H1>
<!-- received="Thu May 10 19:47:19 2001" -->
<!-- isoreceived="20010511024719" -->
<!-- sent="Fri, 11 May 2001 04:01:39 +0100" -->
<!-- isosent="20010511030139" -->
<!-- name="Nick Lamb" -->
<!-- email="njl98r@ecs.soton.ac.uk" -->
<!-- subject="Re: EOF buffer overflow with Xsane 0.76" -->
<!-- id="20010511040139.D32668@ecs.soton.ac.uk" -->
<!-- inreplyto="3AFAF58D.267B423E@computer.org" -->
<STRONG>From:</STRONG> Nick Lamb (<A HREF="mailto:njl98r@ecs.soton.ac.uk?Subject=Re:%20EOF%20buffer%20overflow%20with%20Xsane%200.76&In-Reply-To=&lt;20010511040139.D32668@ecs.soton.ac.uk&gt;"><EM>njl98r@ecs.soton.ac.uk</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu May 10 2001 - 20:01:39 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0126.html">Rupert Heesom: "Hope you don't mind a HELP-ME! post?"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0124.html">Nick Lamb: "Re: ( XSane parameters or buffer bug"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#125">[ date ]</A>
<A HREF="index.html#125">[ thread ]</A>
<A HREF="subject.html#125">[ subject ]</A>
<A HREF="author.html#125">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
On Thu, May 10, 2001 at 10:09:49PM +0200, Marian Eichholz wrote:
<BR>
<EM>&gt; since Nick asked me for an example: Here I have the proof for the buffer
</EM><BR>
<EM>&gt; overflow with Xsane 0.76.
</EM><BR>
<P>Yup. That is not defensive programming, it definitely makes sense to
<BR>
either resize the buffer or ask only for data which will fit in the
<BR>
buffer.
<BR>
<P>It seems that I ought to have written a backend counter-part to the
<BR>
scanimage -T patch :)
<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:%20EOF%20buffer%20overflow%20with%20Xsane%200.76&In-Reply-To=&lt;20010511040139.D32668@ecs.soton.ac.uk&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0126.html">Rupert Heesom: "Hope you don't mind a HELP-ME! post?"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0124.html">Nick Lamb: "Re: ( XSane parameters or buffer bug"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#125">[ date ]</A>
<A HREF="index.html#125">[ thread ]</A>
<A HREF="subject.html#125">[ subject ]</A>
<A HREF="author.html#125">[ 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>Thu May 10 2001 - 19:48:28 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>