Ticket #4324 (closed defect: fixed)
Nitfs containing multiple copies of the same TRE result in memory corruption on write.
| Reported by: | jeepingben | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | GDAL_Raster | Version: | svn-trunk |
| Severity: | normal | Keywords: | nitf |
| Cc: |
Description
Changeset 22866 added support for carrying multiple copies of a TRE in a nitfdataset by adding _2, _3, etc to the end of the name when storing them as metadata. The _2, _3, etc is not stripped when writing the TRE back to a nitf. This overruns the buffer at nitffile.c:1194 and results in writing incorrect nitfs.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

