Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-k.b-one.net (mx-k.one.com [91.198.169.58])
	by mail9.b-one.net (Postfix) with ESMTP id D72F7400364
	for <info@awaresystems.be>; Tue,  5 May 2009 15:17:14 +0200 (CEST)
X-Virus-Scanned: by one.com
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=0 required=6 tests=[none]
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-k.b-one.net (Postfix) with ESMTP id 4D601C22824
	for <info@awaresystems.be>; Tue,  5 May 2009 15:17:14 +0200 (CEST)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 0504E1D4E11BF;
	Tue,  5 May 2009 08:16:31 -0500 (EST)
Received: from toronto2.smartgames.ca (toronto2.smartgames.ca [204.15.192.18])
	by lists.maptools.org (Postfix) with ESMTP id B3FA31D185AE1
	for <tiff@lists.maptools.org>; Fri,  1 May 2009 09:22:00 -0500 (EST)
Received: from [10.143.176.101] (unknown [10.143.176.101])
	by toronto2.smartgames.ca (Postfix) with ESMTP id DA25021E1;
	Fri,  1 May 2009 10:22:32 -0400 (EDT)
In-Reply-To: <787b0d920904302334s33c4d02aw1de835acd5795293@mail.gmail.com>
References: <op.usz7voo3foqvse@simon.fritz.box>
	<0E2E76C8-CAF8-45B5-BAAD-BDC4939B6CF0@telegraphics.com.au>
	<787b0d920904300041y16f836bx87caec73e17e9ebf@mail.gmail.com>
	<869A614C-C44E-4F4F-821D-B1934573CAD2@telegraphics.com.au>
	<787b0d920904301212l5ef55bf8q90ae726b091f07df@mail.gmail.com>
	<DE7A57F5-D99E-4B61-8ABD-55B611D24277@telegraphics.com.au>
	<787b0d920904301231m5b5998ecr994847b922badf0f@mail.gmail.com>
	<B108E18B-4822-4A7B-BFC4-BFA68F2384E2@telegraphics.com.au>
	<787b0d920904302334s33c4d02aw1de835acd5795293@mail.gmail.com>
Mime-Version: 1.0 (Apple Message framework v753.1)
Message-Id: <644A9E5A-3EAF-462C-92EE-B415E71112F3@telegraphics.com.au>
From: Toby Thain <toby@telegraphics.com.au>
Date: Fri, 1 May 2009 10:21:42 -0400
To: Albert Cahalan <acahalan@gmail.com>
X-Mailer: Apple Mail (2.753.1)
Cc: TIFF list <tiff@lists.maptools.org>
Subject: Re: [Tiff] Packbits worst case encoded length
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org


On 1-May-09, at 2:34 AM, Albert Cahalan wrote:

> On Thu, Apr 30, 2009 at 6:30 PM, Toby Thain  
> <toby@telegraphics.com.au> wrote:
>> ... My approach to finding
>> bugs in a file format parser is to test. And test more. Fuzz  
>> testing with
>> random input I find is revealing. Memory protection hacks, while a  
>> nice
>> extra safety net, and definitely valuable in an operating system,  
>> are not a
>> substitute for that.
>
> That's an excellent idea, but you might not catch everything.

Nor will guard pages.

Is every file-reading library on the system supposed to re-implement  
this technique??

--Toby
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
