Actions
Bug #1125
closedCrash in DcmByteString::verify()
Start date:
2024-06-12
Due date:
% Done:
0%
Estimated time:
Module:
dcmdata
Operating System:
Compiler:
Description
DcmByteString::verify(true /* autocorrect */) crashes when the last string is trimmed. This snippet demonstrates the issue:
DcmCodeString bs(DCM_ReferencedFileID);
const char str[] = "AZERTYUIOPQSDFGHJ\\AZERTYUIOPQSDFGHJ.DCM";
bs.putString(str);
bs.verify(OFTrue); // crashes
Thanks to Mathieu Malaterre for the report and test program.
Updated by Michael Onken about 1 year ago
Fixed in commit #be8c39556a49f5b8eaf0d8119354a5e1188adfae.
Actions