Opened 10 years ago

Closed 10 years ago

#65 closed defect (fixed)

geotifcp segfaults on TIFF input file with whitepoint information

Reported by: batrdmi Owned by: warmerdam
Priority: normal Milestone:
Component: libgeotiff Version:
Keywords: geotifcp Cc:

Description

geotifcp is unable to process TIFF input file with 'Whitepoint' attribute set. Example file test.tif is attached to this ticket. Running the following command:

geotifcp test.tif out.tif

leads to segmentation fault.

Patch for this issue is also attached to the ticket (see whitepoint.patch file).

Attachments (2)

test.tif (1.9 KB ) - added by batrdmi 10 years ago.
sample input file
whitepoint.patch (582 bytes ) - added by batrdmi 10 years ago.
patch, resolving the issue

Download all attachments as: .zip

Change History (5)

by batrdmi, 10 years ago

Attachment: test.tif added

sample input file

by batrdmi, 10 years ago

Attachment: whitepoint.patch added

patch, resolving the issue

comment:1 by batrdmi, 10 years ago

Summary: geotifcp segfaults on TIF input file with whitepoint informationgeotifcp segfaults on TIFF input file with whitepoint information

comment:2 by batrdmi, 10 years ago

Libgeotiff version 1.4.0 was used.

comment:3 by hobu, 10 years ago

Resolution: fixed
Status: newclosed

Fix pushed in r2474. Thanks!

Note: See TracTickets for help on using tickets.