Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-i.b-one.net (mx-i.one.com [91.198.169.56])
	by mail9.b-one.net (Postfix) with ESMTP id C157440013C
	for <info@awaresystems.be>; Sun, 22 Aug 2010 15:29:55 +0200 (CEST)
Received: by mx-i.b-one.net (Postfix, from userid 106)
	id B7CE5BF65; Sun, 22 Aug 2010 15:29:55 +0200 (CEST)
X-Virus-Scanned: by one.com
X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "MIME-Version"
X-Spam-Flag: NO
X-Spam-Score: 0.001
X-Spam-Level: 
X-Spam-Status: No, score=0.001 tagged_above=0 required=4
 tests=[HTML_MESSAGE=0.001]
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144]) by
 mx-i.b-one.net (Postfix) with ESMTP id E2C40E1B3 for <info@awaresystems.be>;
 Sun, 22 Aug 2010 15:29:54 +0200 (CEST)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by
 lists.maptools.org (Postfix) with ESMTP id D104C1D184BCB; Sun, 22 Aug 2010
 08:28:33 -0500 (EST)
Received: from mail-bw0-f44.google.com (mail-bw0-f44.google.com
 [209.85.214.44]) by lists.maptools.org (Postfix) with ESMTP id 6CADF1D0C12BA
 for <tiff@lists.maptools.org>; Sun, 22 Aug 2010 08:26:02 -0500 (EST)
Received: by bwz9 with SMTP id 9so3853967bwz.3 for <tiff@lists.maptools.org>;
 Sun, 22 Aug 2010 06:26:02 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.204.161.209 with SMTP id s17mr2713276bkx.67.1282483561962;
 Sun, 22 Aug 2010 06:26:01 -0700 (PDT)
Received: by 10.204.178.207 with HTTP; Sun, 22 Aug 2010 06:26:01 -0700 (PDT)
Date: Sun, 22 Aug 2010 09:26:01 -0400
Message-ID: <AANLkTinJ7Lj9CYfCeLV41mQ75Vc3cem6+X+hQ-XymvMB@mail.gmail.com>
From: Rajat Varma <varma.rajat@gmail.com>
To: tiff@lists.maptools.org
Subject: [Tiff] memory error
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: multipart/mixed; boundary="===============0190787522=="
Mime-version: 1.0
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

--===============0190787522==
Content-Type: multipart/alternative; boundary=00032555a6ba241f83048e6979bc

--00032555a6ba241f83048e6979bc
Content-Type: text/plain; charset=ISO-8859-1

Hi,

I am using the tiff library version 3.9.4 on suse 11.2. There are programs I
wrote many years ago using versions of libtiff from the mid 90s. I have been
having trouble executing some of these programs. I recently got to use
valgrind on one of my programs and got the following error messages.

==25472== Invalid read of size 4
==25472==    at 0x404CCEB: TIFFFindFieldInfo (tif_dirinfo.c:753)
==25472==    by 0x404A843: TIFFVGetField (tif_dir.c:971)
==25472==    by 0x404B33A: TIFFGetField (tif_dir.c:957)
==25472==    by 0x8048B3D: main (in
/home/rajat/Desktop/spots_program/spotsprogram)
==25472==  Address 0x284 is not stack'd, malloc'd or (recently) free'd

Could anyone have an insight as to what kind of problems in the code could
give rise to such errors?

thanks

rajat

--00032555a6ba241f83048e6979bc
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,<br><br>I am using the tiff library version 3.9.4 on suse 11.2. There ar=
e programs I wrote many years ago using versions of libtiff from the mid 90=
s. I have been having trouble executing some of these programs. I recently =
got to use valgrind on one of my programs and got the following error messa=
ges.<br>
<br>=3D=3D25472=3D=3D Invalid read of size 4<br>=3D=3D25472=3D=3D=A0=A0=A0 =
at 0x404CCEB: TIFFFindFieldInfo (tif_dirinfo.c:753)<br>=3D=3D25472=3D=3D=A0=
=A0=A0 by 0x404A843: TIFFVGetField (tif_dir.c:971)<br>=3D=3D25472=3D=3D=A0=
=A0=A0 by 0x404B33A: TIFFGetField (tif_dir.c:957)<br>
=3D=3D25472=3D=3D=A0=A0=A0 by 0x8048B3D: main (in /home/rajat/Desktop/spots=
_program/spotsprogram)<br>=3D=3D25472=3D=3D=A0 Address 0x284 is not stack&#=
39;d, malloc&#39;d or (recently) free&#39;d<br><br>Could anyone have an ins=
ight as to what kind of problems in the code could give rise to such errors=
?<br>
<br>thanks<br><br>rajat<br>

--00032555a6ba241f83048e6979bc--

--===============0190787522==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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