Ticket #1736 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

GeoTIFF Creation blows small stacks

Reported by: warmerdam Owned by: 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

Changed 6 years ago 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).

Note: See TracTickets for help on using tickets.