Opened 14 years ago

Closed 14 years ago

#3427 closed defect (fixed)

HFA Crash - stack overflow.

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone: 1.7.2
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords: HFA
Cc:

Description

Some situations with the HFA driver crash (ie. the new hfa_camera_md test on some buildbot slaves). It seems to relate to a stack overflow when i is >= 10 for the szFieldName field:

    for( i = 0; i < 15; i++ )
    {
        char	szFieldName[40];

        sprintf( szFieldName, "projectionObject.proParams[%d]", i );
        sPro.proParams[i] = poProjInfo->GetDoubleField(szFieldName);
    }

Change History (1)

comment:1 by warmerdam, 14 years ago

Milestone: 1.7.2
Resolution: fixed
Status: newclosed

This turns out to be in the camera model routine which is why it is new,so closely related to (#2675).

It has been fixed in trunk (r18862), 1.7 (r18861) and 1.6-esri (r18863).

Note: See TracTickets for help on using tickets.