Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1600 closed defect (fixed)

Method ComputeStatistics() Should call InitBlockInfo() on gdalrasterband.cpp

Reported by: ilucena Owned by: warmerdam
Priority: normal Milestone: 1.5.0
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords:
Cc:

Description

Method GDALRasterBand::ComputeStatistics? should call InitBlockInfo?() before accessing nBlockPerRow or nBlockPerColumn otherwise it will not loop through the image and it is most likely to a failure.

Change History (3)

comment:1 Changed 12 years ago by warmerdam

Component: defaultGDAL_Raster
Milestone: 1.4.2
Status: newassigned

comment:2 Changed 12 years ago by dron

Milestone: 1.4.21.5.0
Resolution: fixed
Status: assignedclosed

This problem should be fixed with revision 11394.

Best regards, Andrey

comment:3 Changed 12 years ago by warmerdam

Andrey also indicated in IRC that this was a recently introduced problem in trunk and was never in the 1.4 branch or any released software.

Note: See TracTickets for help on using tickets.