Opened 17 years ago
Closed 17 years ago
#1736 closed defect (fixed)
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().
Note:
See TracTickets
for help on using tickets.
Both problems have been fixed in trunk (r11848) and 1.4 branch (r11849).