Opened 15 years ago

Closed 15 years ago

#2831 closed defect (fixed)

[PATCH] PCIDSK : add more checks when reading dataset

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords: PCIDSK
Cc: warmerdam, dron

Description

I've reviewed a bit PCIDSK reading code and propose the attached patch to add more checks. However I lack (valid) test data to be sure that it doesn't break reading on valid datasets. In particular, there's nothing testing tiledrasterband in autotest.

Attachments (1)

pcidsk.patch (15.8 KB ) - added by Even Rouault 15 years ago.

Download all attachments as: .zip

Change History (3)

by Even Rouault, 15 years ago

Attachment: pcidsk.patch added

comment:1 by warmerdam, 15 years ago

Component: defaultGDAL_Raster
Keywords: PCIDSK added
Owner: changed from warmerdam to Even Rouault

Even,

There is PCIDSK test data at http://download.osgeo.org/gdal/data/pcidsk

The changes are frankly too extensive for me to review and test carefully and I'm not prepared to apply them and risk breakage. You may apply them if the improvements in safety are important enough to you.

comment:2 by dron, 15 years ago

Resolution: fixed
Status: newclosed

I have reviewed the patch and applied it in r17688 with few minor modifications. Looks good to me.

Best regards, Andrey

Note: See TracTickets for help on using tickets.