Opened 19 years ago

Last modified 17 years ago

#952 closed defect

Array bounds error — at Version 2

Reported by: scott@… Owned by: Mateusz Łoskot
Priority: high Milestone: 1.4.3
Component: GDAL_Raster Version: 1.3.0
Severity: major Keywords:
Cc: Mateusz Łoskot

Description (last modified by warmerdam)

Reprojecting SDTS DEM to WGS84 results in an array bounds error in GDALWarpNoDataMasker() in GDT_Float32 section when setting element of panValidityMask. panValidityMask is initialized in CreateKernelMask() with poKernel->nBands (1) elements in BandSrcValid section. GDALWarpNoDataMasker() is attempting to modify the 46444th element. nXSize = 1070. nYSize = 1389.

The data used can be made available in a 908 KB zip file.

GDAL 1.3.0

Change History (2)

by scott@…, 19 years ago

Attachment: SDTS.zip added

SDTS DEM

comment:2 by warmerdam, 17 years ago

Cc: warmerdam added
Component: defaultGDAL_Raster
Description: modified (diff)
Milestone: 1.4.2
Owner: changed from warmerdam to Mateusz Łoskot
Version: unspecified1.3.0

Please see if you can reproduce this problem. Likely prudent to use valgrind to highlight any problems.

AGI is a Gold sponsor!

Note: See TracTickets for help on using tickets.