Expected behavior and actual behavior.
When reading NITF files containing more than one image segments the first image segment size is used to base64 all segment metadata strings.
Causes random read access vioaltion crashes when the first segment size is larger then subsequent sizes.
Steps to reproduce the problem.
Read a NITF-file with more than one image segment where the first metadata string is larger than subsequent ones.
Operating system
Any
GDAL version and provenance
3.5.0
Expected behavior and actual behavior.
When reading NITF files containing more than one image segments the first image segment size is used to base64 all segment metadata strings.
Causes random read access vioaltion crashes when the first segment size is larger then subsequent sizes.
Steps to reproduce the problem.
Read a NITF-file with more than one image segment where the first metadata string is larger than subsequent ones.
Operating system
Any
GDAL version and provenance
3.5.0