Changeset 14454
- Timestamp:
- 05/12/08 03:49:02 (3 months ago)
- Files:
-
- trunk/gdal/frmts/nitf/nitfdataset.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/gdal/frmts/nitf/nitfdataset.cpp
r14450 r14454 2171 2171 2172 2172 /* -------------------------------------------------------------------- */ 2173 /* Load the raw CGM data itself.*/2173 /* Load the raw TEXT data itself. */ 2174 2174 /* -------------------------------------------------------------------- */ 2175 2175 char *pabyTextData; 2176 2176 2177 pabyTextData = (char *) CPLCalloc(1,psSegment->nSegmentSize); 2177 /* Allocate one extra byte for the NULL terminating character */ 2178 pabyTextData = (char *) CPLCalloc(1,psSegment->nSegmentSize+1); 2178 2179 if( VSIFSeekL( psFile->fp, psSegment->nSegmentStart, 2179 2180 SEEK_SET ) != 0
