I get a crash with the attached dicom file and gdcm 3.2.2:
$ gdcmconv -i ../test\ files/gdcm-crash.dcm -w -o raw.dcm
libc++abi: terminating due to uncaught exception of type gdcm::Exception: /private/tmp/nix-build-gdcm-3.2.2.drv-0/source/Source/MediaStorageAndFileFormat/gdcmOverlay.cxx:323 ():
An invalid logic behavior occurred8 * ovlength == (unsigned int)Internal->Rows * Internal->Columns
Do you happen to know which Clang version and which libc++ version you used? Would also be useful to know if you used any libc++ hardening options. The error message suggests it a bit ...
With this new branch and UBSan + libc++ hardening enabled, I don't see it at the current release.
Used command line: