Ticket #1736 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

GeoTIFF Creation blows small stacks

Reported by: warmerdam Assigned to: warmerdam
Priority: normal Milestone: 1.4.3
Component: GDAL_Raster Version: 1.4.0
Severity: normal Keywords: stack geotiff gtiff
Cc: hobu

Description

Trying to write a geotiff files "blows the stack" in scenarios where the stack is limited to 256K (such as IIS threads). The problem appears to be an on-stack declaration like this in GTiffCreate:

      unsigned short	anTRed[65536], anTGreen[65536], anTBlue[65536];

A similar issue seems to exist in IBuildOverviews().

Change History

08/07/07 02:30:01 changed by warmerdam

  • status changed from new to closed.
  • resolution set to fixed.

Both problems have been fixed in trunk (r11848) and 1.4 branch (r11849).