Ticket #2777 (closed defect: fixed)
Problem with gcps count in BSB Driver
| Reported by: | valisystem | Owned by: | chaitanya |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | GDAL_Raster | Version: | unspecified |
| Severity: | normal | Keywords: | BSB |
| Cc: | warmerdam, chaitanya |
Description
the function BSBDataset::ScanForGCPs() sets a limit (MAX_GCP) for gcps number for allocation, but the implementation reads data and sets nGCPCount beyond that limit, so that GDALDataset->GetGCPs() returns corrupted (overwritten) data over the 256 limit.
See the map 14500_1 in the noaa RNC BSB nautical charts as an example.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

