AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
April 2004

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2004.04.01 00:29 "file handle leak in tiv_open.c in CVS", by Robert Lowery
2004.04.04 17:58 "Re: file handle leak in tiv_open.c in CVS", by Frank Warmerdam

2004.04.01 00:29 "file handle leak in tiv_open.c in CVS", by Robert Lowery

I believe there is a handle leak in TIFFClientOpen

The last two lines are currently
return ((TIFF*)0);
(void) (*closeproc)(clientdata);

I believe they should be swapped to correctly close the file on error

-Robert

====================================
Robert Lowery
Software Engineer
Color Technology Solutions Pty. Ltd.
Building 14
1508 Centre Road
Clayton Victoria Australia
Phone  +61 3 9550 6620
Fax    +61 3 9550 6699
Email: robert.lowery@ColorTS.com.au
Web:   http://www.ColorTS.com.au
====================================