Opened 10 years ago

Closed 10 years ago

#4852 closed defect (fixed)

GXFDataset::Open() puts big array on stack.

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone: 1.9.2
Component: GDAL_Raster Version: 1.9.1
Severity: normal Keywords: GXF stack
Cc: djay

Description

The line:

char szBigBuf[50000];

in GXFDataset::Open() is too large in some runtime environments. Make this heap allocated.

Change History (1)

comment:1 by warmerdam, 10 years ago

Resolution: fixed
Status: newclosed

Fixed in trunk (r25050) and 1.9 (r25051).

Note: See TracTickets for help on using tickets.