Changeset 14420

Show
Ignore:
Timestamp:
05/10/08 07:43:27 (2 months ago)
Author:
rouault
Message:

Prevent crash on NITF file without image segment (#2362)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.5/gdal/frmts/nitf/nitfdataset.cpp

    r13899 r14420  
    12701270/*      georeferencing from?                                            */ 
    12711271/* -------------------------------------------------------------------- */ 
    1272     poDS->CheckGeoSDEInfo(); 
     1272    if (psImage) 
     1273        poDS->CheckGeoSDEInfo(); 
    12731274 
    12741275/* -------------------------------------------------------------------- */