Changeset 14455
- Timestamp:
- 05/12/08 03:49:15 (2 months ago)
- Files:
-
- branches/1.5/gdal/frmts/nitf/nitfdataset.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.5/gdal/frmts/nitf/nitfdataset.cpp
r14420 r14455 2103 2103 2104 2104 /* -------------------------------------------------------------------- */ 2105 /* Load the raw CGM data itself.*/2105 /* Load the raw TEXT data itself. */ 2106 2106 /* -------------------------------------------------------------------- */ 2107 2107 char *pabyTextData; 2108 2108 2109 pabyTextData = (char *) CPLCalloc(1,psSegment->nSegmentSize); 2109 /* Allocate one extra byte for the NULL terminating character */ 2110 pabyTextData = (char *) CPLCalloc(1,psSegment->nSegmentSize+1); 2110 2111 if( VSIFSeekL( psFile->fp, psSegment->nSegmentStart, 2111 2112 SEEK_SET ) != 0
